How the arithmetic works
The formulas below are the ones the calculator uses. Official fees are labeled only when they come from a page opened on 30 November 2026.
Formulas: pct(x) = x > 1 ? x / 100 : x (30 and 0.30 both mean 30%; 1 means 100%). seller_shipping = head_haul + last_mile. fee_base = P + customer_shipping. expected_revenue = fee_base × (1 − return_rate). contribution_before_ads = expected_revenue − COGS − seller_shipping − expected_fees − allocated_plan. CPA mode: ad_per_unit = CPA per order placed (before returns). ROAS mode: ROAS = P / ad spend per unit; break_even_ROAS = P / contribution_before_ads when contribution_before_ads > 0; otherwise not yet; implied ad_per_unit = P / target_ROAS when a target ROAS is entered. net_margin_pct = net_per_unit / P when P > 0; otherwise n/a. monthly_net = N × (net without the allocated plan) − plan_monthly. Target-margin price is back-solved from the same formulas and rounded to cents. Money is rounded to cents (half up). Currencies are not converted.
Percent inputs follow one rule: 30 and 0.30 both mean 30%, and 1 means 100%. That rule applies to the return rate, to target net margin, and to any percentage fee you type.
Seller-paid shipping is head-haul plus last-mile. Those two fields are costs. The optional “shipping charged to the buyer” field is added to the selling price to make the fee base, because official Amazon, Etsy, and TikTok Shop pages opened that day say some fees apply to a total that includes customer-paid shipping. Gift wrap and tax are not added unless you have already included them in those inputs.
The return assumption is conservative and explicit. Expected revenue is the fee base times (1 minus the return rate), because the selling price and any customer-charged shipping are refunded on the returned share. COGS and seller shipping are incurred on every order placed, including later returns. This desk does not invent a restocking fee or a recovered-goods rate. If you recover part of those costs, reduce the inputs yourself.
Platform and payment fees are treated as not recovered on returns, except where an official page opened on 30 November 2026 says otherwise. Shopify Help states that credit card transaction fees are not returned when you issue a refund. The Etsy Payments processing-fee article states that the processing fee is credited proportionally on a refund; that recoverable part is the only automatic exception. Etsy’s 6.5% transaction fee is not recovered here, because that recovery was not stated on the fees page that was opened.
Shopify monthly plan fees are monthly, not per order. When monthly volume N is greater than zero, the official monthly (or official yearly-as-USD/mo) plan is allocated as plan / N in the per-unit view. Monthly net subtracts that plan once: N times the unit net computed without the allocation, minus the monthly plan. The two views stay consistent except for ordinary rounding of plan / N to cents.
For Shopify, the default payment path is Shopify Payments online standard card rates from the official comparison table: 2.9% + 30¢ (Basic), 2.7% + 30¢ (Grow), 2.5% + 30¢ (Advanced), and 2.25% + 30¢ (Plus). You can switch to online premium rates or to the official third-party transaction fee plus a processor fee you type. Plus yearly billing had no numeric USD/mo figure on the opened table, so that combination is refused rather than invented.
For Amazon, this desk does not pick a category referral percentage. You type the referral % from the official category table, and you may type the published minimum when that cell is not blank. FBA fulfillment is user-entered only; the official pricing page points to a Revenue Calculator that needs size and weight, so no single FBA rate was copied.
For Etsy, the official 6.5% transaction fee and, by default, the official US Etsy Payments rate of 3% + 0.25 USD are applied to the fee base. The 0.20 USD listing fee is paid when a listing is created, not automatically per sale; it is allocated only if you choose that planning option. Offsite Ads (15% or 12%, capped at 100 USD) and the 2.5% currency-conversion fee are applied only when you turn them on.
For TikTok Shop US, the FAQ on seller.tiktok.com says there is no setup fee and that TikTok Shop charges a 6% commission on each sale. The official category table has 6% for most rows and 5% (sometimes with a 3% slice over 10,000 USD) for some jewelry, pre-owned, and collectibles rows. The calculator uses the 6% FAQ rate unless you enter a different category rate. The official formula is rate × (customer payment + platform discount − tax), and the base includes customer-paid shipping. This desk uses selling price plus any customer shipping you enter; it does not invent a discount or tax line.
In CPA mode, which is exclusive of ROAS mode, the advertising cost is the CPA you type, per order placed and before returns. In ROAS mode, this desk treats ROAS as selling price P divided by ad spend per unit. Break-even ROAS is P divided by contribution before ads when that contribution is greater than zero; otherwise it reads “not yet.” If you enter a target ROAS greater than zero, implied ad spend is P / target ROAS. The two modes are not mixed.
The target-margin price is back-solved so that net per unit divided by P equals the target net margin, using the same formulas. In CPA mode the price is uniquely solvable when fees are linear in P. In ROAS mode a target ROAS must be entered, because ad spend depends on P as P / target ROAS; without that target the price is not uniquely solvable. After the algebra, P is rounded to cents, so the realized margin can differ by a rounding step. If an Amazon minimum referral or the Etsy Offsite Ads 100 USD cap binds, that fee is held flat and the price is solved again.
Money is rounded to cents, half up, for published figures. The currency is the unit you typed. This desk does not convert currencies, and it never prints a unit twice. Re-open the cited official pages before you treat a number as a current fee.
| Example | Kind | Fee per unit | Contribution before ads | Net per unit | Net margin | Break-even ROAS | Monthly net | Price for the target net margin | Notes |
|---|---|---|---|---|---|---|---|---|---|
| Invented planning inputs | Invented planning inputs | 1.66 USD | 16.35 USD | 8.35 USD | 20.88% | 2.45 | 1,669.00 USD | 39.49 USD | The example uses a selling price of 40.00 USD, a purchase cost of 12.00 USD, head-haul 2.00 USD plus last-mile 4.00 USD, no customer-charged shipping, a 10% return rate, Shopify Basic billed monthly, Shopify Payments online standard card rates, a CPA of 8.00 USD per order placed, 200 orders a month, and a 20% target net margin. The 40.00, 12.00, 2.00, 4.00, 10%, 8.00, 200, and 20% figures are invented planning inputs — not a recommended shop, not a market average, and not an official fee. The 39.00 USD / mo plan and the 2.9% + 0.30 USD card rate are official Shopify Basic figures copied from shopify.com/pricing on 30 November 2026. Payment fee = 1.46 USD. Allocated plan = 39.00 / 200 = 0.195, shown as 0.20 USD. Expected revenue = 36.00 USD. Fee per unit = 1.66 USD. Contribution before ads = 16.35 USD. Net per unit = 16.35 − 8.00 = 8.35 USD. Net margin = 20.88%. Break-even ROAS = 40.00 / 16.35 = 2.45. Monthly net = 200 × 8.54 − 39.00 = 1,669.00 USD (the monthly plan is subtracted once; N × the rounded per-unit net would differ by a rounding step on the allocated plan). The back-solved price for a 20% net margin, rounded to cents, is 39.49 USD. |
The example uses a selling price of 40.00 USD, a purchase cost of 12.00 USD, head-haul 2.00 USD plus last-mile 4.00 USD, no customer-charged shipping, a 10% return rate, Shopify Basic billed monthly, Shopify Payments online standard card rates, a CPA of 8.00 USD per order placed, 200 orders a month, and a 20% target net margin. The 40.00, 12.00, 2.00, 4.00, 10%, 8.00, 200, and 20% figures are invented planning inputs — not a recommended shop, not a market average, and not an official fee. The 39.00 USD / mo plan and the 2.9% + 0.30 USD card rate are official Shopify Basic figures copied from shopify.com/pricing on 30 November 2026. Payment fee = 1.46 USD. Allocated plan = 39.00 / 200 = 0.195, shown as 0.20 USD. Expected revenue = 36.00 USD. Fee per unit = 1.66 USD. Contribution before ads = 16.35 USD. Net per unit = 16.35 − 8.00 = 8.35 USD. Net margin = 20.88%. Break-even ROAS = 40.00 / 16.35 = 2.45. Monthly net = 200 × 8.54 − 39.00 = 1,669.00 USD (the monthly plan is subtracted once; N × the rounded per-unit net would differ by a rounding step on the allocated plan). The back-solved price for a 20% net margin, rounded to cents, is 39.49 USD.
Questions
Do you invent a typical return rate, CPA, or ROAS?
No. Those inputs stay blank until you type them. Official cells hold only amounts copied from pages opened on 30 November 2026.
Why must I type an Amazon referral percentage?
Referral fees vary by category and sometimes by price tier. This desk does not choose a category for you. Enter the official rate that applies to your SKU, or leave Amazon unused.