Finance & Business

Profit & Loss

Margin, markup and profit

Instant results100% privateFree forever

Advertisement

Sponsored

Ready to calculate? Open the Profit & Loss below, free, instant, no login.

Free · No login required · Results in seconds

Quick Answer

Profit or loss is calculated as Selling Price minus Cost Price. Profit percentage (on cost) equals (Profit ÷ Cost) × 100, while gross margin (on selling price) equals (Profit ÷ Selling Price) × 100 — these two percentages are always different for the same transaction.

What Is a Profit & Loss?

A profit and loss calculator finds how much money you made or lost on a sale, and expresses that result as a percentage in two different — and commonly confused — ways: markup (profit as a percentage of what something cost you) and gross margin (profit as a percentage of what you sold it for).

These two numbers are never equal except when profit is zero. If you buy something for 100 and sell it for 130, your profit is 30. Markup is 30 ÷ 100 = 30%. Margin is 30 ÷ 130 = 23.08%. Markup will always be a larger percentage than margin whenever there's a profit, because it's measured against the smaller base (cost) rather than the larger one (selling price).

This distinction trips up a lot of business owners when pricing products: aiming for a '30% margin' and pricing with a '30% markup' produce two completely different selling prices and profit outcomes. Knowing which one you're actually targeting matters for accurate pricing and financial planning.

How to Use This Profit & Loss

  1. 1Enter the cost price — what you paid to buy or produce the item.
  2. 2Enter the selling price — what you sold or plan to sell it for.
  3. 3The calculator instantly shows your profit or loss, profit percentage, gross margin, and markup.

The Formula Explained

Profit / Loss
P/L = Selling Price − Cost Price
Profit % (Markup)
Markup % = (Profit ÷ Cost Price) × 100
Gross Margin
Margin % = (Profit ÷ Selling Price) × 100

Example: Cost price 1,000, selling price 1,300

  • Profit = 1,300 − 1,000 = 300
  • Markup % = 300 ÷ 1,000 × 100 = 30%
  • Gross Margin % = 300 ÷ 1,300 × 100 ≈ 23.08%
Profit of 300 — a 30% markup on cost, equal to a 23.08% gross margin on the selling price

Tips & Things to Know

  • Markup and gross margin answer different questions: markup tells you how much you added on top of cost; margin tells you what share of your revenue is actual profit. Know which one your business decisions depend on.
  • A common pricing mistake is setting a target margin (say 30%) but calculating the price using a markup formula instead — this under-prices the product and delivers a lower margin than intended.
  • A loss shows as a negative profit — the calculator still reports magnitude and percentage so you can see exactly how far below cost the sale was.
  • For businesses, gross margin is usually the more meaningful figure since it's measured against revenue — the number on your income statement — rather than against cost.
  • Always price using the same cost basis (including relevant overhead if applicable) — comparing margins calculated on different cost definitions gives misleading results.

Frequently Asked Questions

What is the formula for profit percentage?

Profit percentage (markup) is calculated as (Profit ÷ Cost Price) × 100, where Profit equals Selling Price minus Cost Price.

What's the difference between markup and gross margin?

Markup is profit as a percentage of cost price. Gross margin is profit as a percentage of selling price. For the same sale, markup is always a higher percentage than margin whenever there's a profit.

How do I calculate selling price from a target margin?

Selling Price = Cost Price ÷ (1 − Target Margin). For example, to achieve a 25% margin on a 100 cost item: 100 ÷ (1 − 0.25) = 133.33.

What does a negative profit percentage mean?

A negative result means the item sold for less than it cost — a loss. The percentage shows the size of that loss relative to the cost price.

Is a higher markup always better for a business?

Not necessarily. Very high markups can reduce sales volume if customers find the price uncompetitive. Sustainable pricing balances markup against demand, competition, and overall sales volume.

More Finance & Business calculators

Advertisement

Sponsored

All Calculators

53 tools, free forever, no login

Most Used

All Calculators

Simple Interest

Quick interest calculation

Profit & Loss

Margin, markup and profit

ROI

Return on investment, annualized

Break-Even

Units to break even

Salary

Take-home after tax & deductions

FD Calculator

Fixed deposit maturity & interest

Inflation Calculator

Future cost & purchasing power loss

Net Worth

Assets minus liabilities

EMI Affordability

Max loan you can afford

Pip Value

Pip value per lot

Forex Margin

Margin required for any trade

Risk / Reward

Plan your trade R:R

DCA

Dollar cost averaging simulator

Stock Return

Total return incl. dividends

BMR / Calories

Daily calories by goal

Body Fat %

US Navy method

Ideal Weight

Range from 4 formulas

Water Intake

Daily hydration target

Calories Burned

By exercise type & duration

Age Calculator

Years, months, days

Date Difference

Days, weeks, months between dates

Percentage

Of, is, and change

Unit Converter

Length, weight, temp & more

Area

Area of common shapes

Volume

Volume of common solids

Speed / Distance / Time

Solve for any of the three

Number Base

Binary, octal, decimal, hex

Discount Calculator

Final price after % or flat discount

Ratio Calculator

Simplify ratios & solve proportions

Time Zone Converter

Convert time across 15 cities

Simple Calculator

Basic arithmetic calculator

Speed & Distance

km, miles, m/s — all formats

Temperature Converter

°C, °F, Kelvin, Rankine

World Cup Group Stage Simulator

Enter 6 scores, get full standings with FIFA tiebreakers

World Cup Third-Place Race Tracker

Track all 12 third-place teams chasing 8 knockout spots

Penalty Shootout Win Probability

Win odds from each team's penalty conversion rate

Fair Play Score Calculator

FIFA fair-play points from yellow/red cards — tiebreaker #6

Golden Boot Top Scorer Tracker

Rank up to 20 players in the World Cup top-scorer race

Grade Calculator

Percentage to letter grade

CGPA to %

Convert CGPA to percentage

Word Counter

Words, chars, reading time

Roman Numerals

Number ↔ Roman

Islamic Section

Zakat, Prayer Times & more

Islamic calculators live in their own dedicated section, Zakat, Nisab, Qibla, Hijri, Tasbih.

Open Islamic Tools →