Profit Margin Calculator
Calculate profit and profit margin percentage from revenue and cost.
Enter values to calculate.
Formulas
Core equations used by this calculator.
How to use
Follow these steps for a clear answer.
Enter the known values
Fill in each field with amounts and rates as labeled.
Calculate
Results update as you type; compare scenarios below when available.
Read the outputs
Check the result panel for the primary figure and supporting totals.
Example calculations
Common configurations with formula and result.
Worked example
Revenue 120,000 · Cost 78,000 → profit 42,000 · margin 35%
Profit Margin calculator specification
Version 1.0.0 · Last reviewed 2026-07-28
- Definition
- Profit margin is profit as a share of revenue: Margin = (revenue − cost) / revenue. It differs from markup, which divides by cost.
- What it calculates
- Profit amount and margin percentage.
- Inputs
- Values shown on the calculator form
- Outputs
- Primary result in the result panel
- Formula
Margin = (revenue − cost) / revenueAbout this calculator
Profit margin is profit as a share of revenue: Margin = (revenue − cost) / revenue. It differs from markup, which divides by cost.
Formula
Margin = (revenue − cost) / revenueExample
Revenue 120,000 · Cost 78,000 → profit 42,000 · margin 35%
- Assumptions
- Fixed rates and terms as entered; no fees or taxes unless modeled.
- Calculation runs locally in the browser.
- Units
- Currency units as entered (dimensionless rates in %)
- Boundary conditions
- Zero or missing required fields yield zero or empty results.
- Negative inputs are treated as zero.
- Example
- Revenue 120,000 · Cost 78,000 → profit 42,000 · margin 35%
- Validation cases
- 120000 · 78000 → margin 35%
- 100 · 100 → margin 0%
- 200 · 50 → margin 75%
- Sources
- Standard time-value-of-money / managerial accounting identities
- Last reviewed
- 2026-07-28
- Calculation version
- 1.0.0
Related tools
Frequently asked questions
Key distinctions behind the calculation.
How does the Profit Margin Calculator work?
It uses Margin = (revenue − cost) / revenue. All math runs locally in your browser.
Can I share my inputs?
Yes. Use Copy link in the result panel — the URL stores your current inputs.