If you've ever built an e-commerce pricing sheet, a SaaS billing comparison, or a side-project calculator, you've probably written this line at least once:
const listPrice = (cost + targetProfit + fixedFee) / (1 - feeRate); It looks clean—and it breaks quietly on almost half the platforms sellers and indie hackers actually use in 2026.
Where linear reverse-pricing math falls apart
Real platform fee schedules are full of step discontinuities, minimums, caps, and taxes assessed on top of fees:
- Poshmark US: flat
$2.95under$15.00, then suddenly20%at$15.00+(and Poshmark Canada chargesC$3.95underC$20plus provincial GST/HST on the commission itself). - eBay US:
$0.30fixed fee at≤ $10, jumping to$0.40above$10, with13.6%applied to item price + shipping + buyer sales tax, then dropping to2.35%above$7,500. - StockX:
9%seller fee (Level 1) with a hard$5.00minimum floor, plus3%processing. - Patreon:
2.9% + $0.30standard processing, flipping to5% + $0.10micro-processing on pledges≤ $3.00. - TCGplayer & Reverb: hard per-item commission caps (
$75on TCGplayer,$500on Reverb). - USPS 2026 Dimensional Weight: actual weight up to
1,728 cu in(1 cubic foot), then suddenly divisor139above1,728 cu in— so a13"×12"×12"2 lb jacket jumps to 14 lbs billable weight.
Add to that the fact that half the calculators ranking on Google still quote 2021 PayPal rates (2.9% instead of 3.49% + $0.49) or ignore Lemon Squeezy's March 2027 sunset when comparing Merchant of Record stacks.
The fix: treat the fee engine as a black box and bisect to the cent
Instead of maintaining fragile algebraic inverses for 30+ platforms, I wrote every forward fee schedule as a pure, unit-tested TypeScript function calculateFees(platformId, input) and solved reverse target-profit / target-margin pricing via monotonic bisection:
export function solveReversePrice( platformId: string, baseInput: FeeInput, mode: 'target_profit' | 'target_margin', targetValue: number ) { let lo = 0.01; let hi = 50000; for (let i = 0; i < 60; i++) { const mid = (lo + hi) / 2; const res = calculateFees(platformId, { ...baseInput, salePrice: mid }); const metric = mode === 'target_profit' ? res.netProfit : res.profitMarginPct; if (metric >= targetValue) hi = mid; else lo = mid; } const recommendedPrice = Math.ceil(hi * 100) / 100; return { recommendedPrice, result: calculateFees(platformId, { ...baseInput, salePrice: recommendedPrice }) }; } Sixty iterations converge way past cent precision in microseconds, handle every step threshold cleanly, and let me run automated Vitest assertions across all 30 platforms before every deploy.
Real 2026 fee spread on a clean $100 order / invoice
Here's a quick slice from the verified 2026 dataset ($0 COGS/shipping/tax to isolate pure fees):
| Platform | 2026 Headline Structure | Fee on $100 | You Keep | Charge to Net $100 |
|---|---|---|---|---|
| Venmo Business (US QR) | 1.9% + $0.10 | $2.00 | $98.00 | $102.04 |
| Square (In-Person POS) | 2.6% + $0.15 | $2.75 | $97.25 | $102.83 |
| Stripe (US One-Time Card) | 2.9% + $0.30 | $3.20 | $96.80 | $103.30 |
| Depop (US Organic) | 0% commission + 3.3% + $0.45 | $3.75 | $96.25 | $103.90 |
| PayPal Business (US) | 3.49% + $0.49 | $3.98 | $96.02 | $104.12 |
| Paddle (All-In MoR) | 5% + $0.50 (handles global VAT/tax) | $5.50 | $94.50 | $105.79 |
| Mercari (US) | 10% flat ($0 processing) | $10.00 | $90.00 | $111.12 |
| eBay (US Standard) | 13.6% + $0.40 (excl. buyer tax here) | $14.00 | $86.00 | $116.21 |
| Poshmark (US) | 20% flat ($2.95 under $15) | $20.00 | $80.00 | $125.00 |
(For SaaS founders migrating off Lemon Squeezy: Stripe looks way cheaper than Paddle on a one-time US card, yet once you stack +1.5% international card + +1.0% FX + +0.7% Stripe Billing + +0.5% Stripe Tax, Stripe hits 6.6% + $0.30 and you still file global VAT yourself — which is why Gumroad vs Paddle vs Stripe math flips quickly for international SaaS.)
Open-source 2026 dataset (CSV + JSON, CC-BY-4.0)
I exported the benchmark tables across 30 US/global platforms, 30 UK/CA/AU/EU local-currency structures, and a structured 2026 Fee Change Log into a public GitHub repo with zero-dependency Python & Node.js scripts:
- GitHub Open Dataset (
v2026.11): https://github.com/leenol/feepilot-2026-seller-fee-dataset - Interactive 30-Platform 2026 Matrix (w/ CSV export): https://026114.xyz/2026-fee-matrix/
- 2026 Official Fee Change Log (Airbnb 15.5%, USPS 139, IRS
$184,500cap, Lemon Squeezy): https://026114.xyz/fee-updates/
Everything on the web app runs 100% locally in the browser (Astro 5 + React islands, zero logins, shareable pre-filled URLs). If you spot a regional rate quirk or a platform that recently changed its schedule, drop a comment or open an issue on the repo!
![Mobility Dynamics Durability and Validation — Ch.14: Integrated Mobility Design Case Studies [EN]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyhm61u3pzn2io2lf18hg.png)
