Profit and Loss Calculator

Profit or loss, and the percentage, from cost and selling price.

Your numbers

$
$
units
Profit $200.00
Total cost
$800.00
Total selling price
$1,000.00
Profit % (of cost)
25%
Profit margin (of selling price)
20%
Profit per unit
$20.00

What are profit and loss?

Profit is what you sell something for minus what it cost you. If the selling price is higher than the cost price you made a profit; if it is lower you made a loss. If the two are equal there is no profit and no loss.

The profit or loss percentage is worked out on the cost price. Buying something for 80 and selling it for 100 is a profit of 20, which is 25% of the cost. The margin looks at the same 20 against the selling price instead, so it is smaller: 20%.

Formula

Profit or loss = selling price − cost price. Profit or loss % = (profit or loss ÷ cost price) × 100. Margin = profit or loss ÷ selling price.

How to use the Profit and Loss Calculator

  1. Enter the cost price of one unit.
  2. Enter the selling price of one unit.
  3. Enter how many units you bought and sold.
  4. Read the profit or loss, the percentage on cost and the margin on the selling price.

This is a simple calculation for information. It counts only the cost price you enter. It does not include tax, rent, wages, returns or other running costs, so it shows the profit on the items, not the profit of a whole business. Ask an accountant about your own books.

Real situations

When people use the Profit and Loss Calculator

  • 1

    Checking a sale in a shop

    Enter what you paid for an item and what you charged to see how much you made per item, and how much on the whole batch.

  • 2

    Homework and exam questions

    Profit and loss percentage questions use the cost price as the base. Use the tool to check your working step by step.

  • 3

    Reselling and trading

    Type in the buying and selling price of an item you flipped to see your profit or loss percentage on the money you put in.

  • 4

    Pricing a new product

    Try different selling prices against the same cost to see the profit and margin each one gives, before you set the price.

Good to know

  • Profit percentage uses the cost as its base. Margin uses the selling price. They are different numbers for the same sale.
  • Include every cost of the item, such as delivery, in the cost price, or the profit will look bigger than it is.

FAQ

Profit and Loss Calculator: questions answered

How do I calculate profit percentage?

Subtract the cost price from the selling price to get the profit, divide it by the cost price, then multiply by 100. With a cost of 80 and a selling price of 100, the profit is 20 and the profit percentage is 25%.

What is the difference between profit percentage and margin?

Profit percentage compares the profit with the cost price. Margin compares the same profit with the selling price. On a cost of 500 and a price of 650, the profit is 150, which is 30% of the cost but a margin of 23.08% of the price.

How do I calculate loss percentage?

Subtract the selling price from the cost price to get the loss, divide by the cost price and multiply by 100. Buying for 80 and selling for 60 per unit is a loss of 20 per unit, which is 25% of the cost.

Why does a 20% loss need a 25% profit to get back to even?

The profit is measured on a smaller number after a loss. Something bought for 100 and sold for 80 is a 20% loss. To get from 80 back to 100 you need a gain of 20 on 80, which is 25%.

Can the profit percentage be more than 100%?

Yes. If you sell something for more than double its cost, the profit is more than the cost, so the percentage on cost is above 100%. A margin on the selling price can never reach 100%, because the cost is never zero.

What does it mean when the result says no profit, no loss?

The selling price equals the cost price, so you got back exactly what you paid. Once you count your own time or any other cost, it is usually a small loss in real life.

How does the Profit and Loss Calculator work?

Profit or loss = selling price − cost price. Profit or loss % = (profit or loss ÷ cost price) × 100. Margin = profit or loss ÷ selling price. Results update as you type.

Is this Profit and Loss Calculator free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way