A minimum price you can test: three terms, integer cents
Disclosure: I work on Tidy Cents, the free calculator mentioned at the end. Most "minimum price" formulas stop at unit cost plus a share of fixed costs. That misses the cost of waiting to be paid. The three te
Disclosure: I work on Tidy Cents, the free calculator mentioned at the end.
Most "minimum price" formulas stop at unit cost plus a share of fixed costs. That misses the cost of waiting to be paid.
The three terms
floor = unit_cost + fixed_cost_share + cost_of_waiting
cost_of_waiting = (unit_cost + fixed_cost_share) * annual_rate * days / 365
Example: unit cost $12, fixed costs $6,000 a month over 1,000 units ($6 a unit), paid 60 days later, money costs 12% a year.
- waiting: 18 × 0.12 × 60 / 365 = 0.355 → $0.36
- floor: 12 + 6 + 0.36 = $18.36
- price for a 25% margin on the price: 18.36 / (1 − 0.25) = $24.48
Keep it in integer cents
const toCents = (x) => Math.round(x * 100);
const unit = toCents(12), fixed = toCents(6);
const wait = Math.round((unit + fixed) * 0.12 * 60 / 365); // 36
const floor = unit + fixed + wait; // 1836
const price = Math.ceil(floor / (1 - 0.25)); // 2448
Round each step once, in one direction you can explain. Math.ceil on the price means you never quote a cent below your margin.
Why it matters
At $18.00 the sale looks break-even. At 60-day terms it quietly loses $0.36 a unit. On 1,000 units a month that is $360 you never see.
The same formula runs in our free Minimum Price Calculator, no sign-up, formulas shown: https://gettidycents.com/tools/minimum-price-calculator
How do you price in the cost of slow payers today, if at all?
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.