Build your retirement plan for free.Explore Plan Builder →

Decimal Profit Margin Calculator

Enter your revenue and cost to calculate profit margin as a decimal, percentage, markup, cost ratio, and more.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter revenue

    Type total revenue or the selling price in Revenue ($), before deducting the cost you plan to enter.

  2. 2

    Enter the matching cost

    Type the cost associated with that revenue in Cost ($), such as cost of goods sold or production cost.

  3. 3

    Review profit and ratios

    The results show gross profit, profit margin as a decimal and percentage, cost ratio, markup, and profit per dollar of revenue.

Example Calculation

A business records $1,000 in revenue and $650 in associated costs and wants to measure the remaining gross profit.

Revenue ($)

1,000

Cost ($)

650

Results

Profit Margin (Decimal)

0.350000

Profit Margin (%)

35.00%

Gross Profit

$350.00

Cost Ratio

65.00%

Markup

53.85%

Profit Per $1 Revenue

$0.3500

Insights card shows margin, markup, cost-ratio, and profit-per-dollar assessments.

Tips

A $700 cost on $1,000 revenue leaves a 30% margin

Change Cost ($) from 650 to 700 to see gross profit fall to $300 and profit margin fall from 35% to 30%.

At $500 cost, half of revenue remains as gross profit

Change Cost ($) to 500 while keeping revenue at $1,000. The margin becomes 50%, while markup on cost becomes 100%.

Use full operating expenses for a net-margin view

If you want profit after overhead, taxes, and other expenses, enter the relevant total costs or use the [Net Profit Margin Calculator](/calculators/net-profit-margin-calculator/).

What this calculator estimates

Profit margin is the share of revenue left after subtracting the cost entered in the calculator. This result is a gross-margin-style measure when the cost represents cost of goods sold; it is not net profit unless the entered cost includes all relevant expenses.

How the profit-margin calculation works

Profit = Revenue − Cost
Profit margin (decimal) = Profit ÷ Revenue
Profit margin (%) = Profit ÷ Revenue × 100
Cost ratio (%) = Cost ÷ Revenue × 100
Markup (%) = Profit ÷ Cost × 100

For the example, gross profit is $1,000 − $650 = $350. Divide profit by revenue: $350 ÷ $1,000 = 0.35, or 35%. Cost ratio is $650 ÷ $1,000 × 100 = 65%. Markup uses cost instead: $350 ÷ $650 × 100 = 53.85%.

Profit per $1 of revenue uses the same ratio as decimal margin. A result of $0.35 means 35 cents of each revenue dollar remains after the entered cost.

How cost changes margin

With revenue fixed at $1,000, increasing cost reduces profit and margin.

Revenue Cost Gross profit Profit margin Markup
$1,000 $800 $200 20% 25%
$1,000 $650 $350 35% 53.85%
$1,000 $500 $500 50% 100%

If a margin is falling, separate the possible causes before changing prices: higher input costs, lower selling prices, or a change in product mix can all reduce the result. A price increase may improve margin per unit but reduce sales volume, which this calculator does not model.

When to use a different calculator

Frequently Asked Questions

How do I calculate profit margin as a decimal?

Subtract cost from revenue, then divide the profit by revenue. 1. Profit = revenue − cost. 2. Decimal margin = profit ÷ revenue. 3. Multiply the decimal by 100 to express it as a percentage.

What is the difference between profit margin and markup?

Profit margin divides profit by revenue, while markup divides profit by cost. With $1,000 revenue and $650 cost, the $350 profit is a 35% margin and a 53.85% markup.

Can profit margin be negative?

Yes. If cost exceeds revenue, profit is negative and the margin falls below zero. The calculator reports the loss relative to revenue.

Is gross profit the same as net profit?

No. Gross profit subtracts the cost entered here from revenue; net profit also accounts for operating expenses, interest, taxes, and other applicable items. Use the [Net Profit Margin Calculator](/calculators/net-profit-margin-calculator/) when you need a net-margin measure.

What is a good profit margin?

A useful margin depends on the industry, business model, and which costs are included. Compare like-for-like companies and periods; the U.S. Census Bureau's Statistics of U.S. Businesses provides business statistics by industry, but this calculator does not supply an industry benchmark.