Business Calculator

Cost Price Calculator

Reverse-solve cost price from margin, markup, profit amount, or landed-cost components.

Last reviewed: June 28, 2026Business Phase 1 method set v1.0.0: profit, margin, markup, discount, indirect-tax, invoice and break-even formulas

Business calculator

Cost Price Calculator

Changing currency changes display only. It does not convert amounts or fetch exchange rates.

Mode

Reverse price inputs
Landed cost inputs

Enter your values and choose Calculate to show the result.

What the Cost Price Calculator does

Cost Price Calculator focuses on reverse or landed cost calculation. It keeps the calculation local, deterministic and based only on the values you enter.

The result is designed for planning and checking arithmetic, not for accounting entries, tax filing or pricing advice.

How to use the Cost Price Calculator

Enter the values you already know, choose the mode where the page provides one, then calculate. Change the display currency only when you want a different symbol; no currency conversion is performed.

Use reset before starting a separate scenario so stale assumptions do not remain in the form.

Formula

Cost from margin = selling price x (1 - margin). Cost from markup = selling price / (1 + markup). Landed unit cost = landed total / units.

Variables

The calculator uses these user-entered variables and derived values:

  • Selling price
  • Target margin
  • Target markup
  • Profit amount
  • Landed purchase cost
  • Freight
  • Duty
  • Rebates
  • Units

Calculation order

NexaCalc applies the formula in a fixed order so the result is reproducible:

  • Choose reverse-pricing or landed-cost mode.
  • Validate that denominator assumptions are possible.
  • Solve cost price or landed unit cost.
  • Show margin and markup implied by the result.

Result interpretation

The headline result is the main planning number for this specific tool. Supporting rows show the intermediate values that explain how the headline was produced.

Negative profit, negative cash position, or an invalid contribution margin is shown directly instead of being hidden by color or rounded away.

Worked example

Example: selling price 100 and target margin 40% implies a 60 cost price. A landed purchase cost of 1,000 plus 170 costs minus 30 rebates across 10 units gives 114 landed cost per unit.

Common mistakes

The most common errors are denominator mistakes, tax-basis assumptions and mixing planning math with official compliance rules.

  • Solving margin with markup formula.
  • Ignoring rebates or landed fees.
  • Using a target margin of 100%.
  • Comparing landed unit cost with a tax-inclusive selling price.

Limitations

The calculator deliberately avoids decisions that require professional judgment, current statutory rates or business-specific records.

  • It does not classify costs for accounting.
  • Supplier rebates and taxes must be entered manually.
  • Inventory timing and exchange rates are not modeled.

Rounding and currency display

The calculation keeps Decimal.js precision internally and rounds for display and CSV export. Most currencies display with two decimals, while zero-decimal currency formatting follows the shared NexaCalc finance formatter.

Changing currency changes labels and formatting only. It does not convert between currencies.

Privacy and data handling

Inputs are calculated in the browser session. NexaCalc does not upload invoice rows, tax rates, customer names, supplier names or pricing assumptions from these calculators.

Frequently asked questions

What is the Cost Price Calculator?

It is a deterministic NexaCalc tool for reverse or landed cost calculation.

Does it use live tax rates or market prices?

No. All rates, costs, prices and tax treatments are entered by the user.

Does changing currency convert the numbers?

No. Currency selection changes formatting only and does not perform exchange-rate conversion.

Can this replace accounting or tax advice?

No. The page is a mathematical planning calculator, not accounting, tax, legal or pricing advice.

How are percentages handled?

Percentages are converted to decimal rates internally, and the calculator displays rounded percentages for readability.

Why can margin and markup differ?

Margin uses selling price as the denominator, while markup uses cost as the denominator.

How does NexaCalc round money?

The engine uses Decimal.js internally and rounds only display, table and CSV values.

Are negative results allowed?

Yes. A loss, negative VAT position or negative margin is shown when the entered numbers produce one.

Can I export the result?

The calculator supports copying, printing and sharing the result. Invoice and row-based pages also provide CSV exports.

Where should I go next?

Use the related calculators near the end of the page when you need a different business question than Cost Price Calculator answers.

References

  • OpenStax, Principles of Accounting Volume 2, section 3.1 on contribution margin. Source.
  • OpenStax, Principles of Accounting Volume 2, section 3.2 on break-even point in units and dollars. Source.
  • New York State Department of Taxation and Finance, Taxable Receipt bulletin TB-ST-860, updated March 16, 2026. Source.
  • OECD, International VAT/GST Guidelines, official publication page. Source.

Business Phase 1 references and formula families reviewed on June 28, 2026.

Business disclaimer

This calculator provides mathematical estimates for general business planning. It is not accounting, tax, legal, pricing or financial advice.