Percentage calculator: percent of a number, change, discounts, markup and margin

Work out X% of Y, what percent one number is of another, percent change, add or remove a percent, stacked discounts and markup versus margin.

Keep it one tap away for everyday use.

Bookmark Percentage calculator?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Pick one
  2. Type
  3. Answer
Nothing is uploadedWorks offline once open

Nothing you type leaves this page.

What it does

Percentages turn up everywhere: sale prices, price rises, pay changes, tax, commission and profit. This page has six small calculators in tabs, each with an example already filled in, so you can see what to type. It answers instantly and shows the sum in words, so you can check it makes sense.

Everything runs in your browser and nothing is sent anywhere. When you are planning what to spend, the budget planner is a good next step.

How to use it

  1. Pick the tab that matches your question.
  2. Type your numbers. The answer updates as you type.
  3. Read the sentence under the answer to be sure you asked the right question.

What each tab does

  • X% of Y: finds a share of an amount, such as 15% of 80.
  • X is what % of Y: turns two numbers into a percent, such as a score of 12 out of 80.
  • % change: from an old value to a new one, shown as an increase or a decrease.
  • Add or remove %: adds a percent (tax, tip), takes one off (a discount), or works back to the original price when the amount already includes the percent.
  • Stacked discounts: two or three discounts one after another. They are not added: 30% off then 10% off is 37% off, not 40%, because the second discount applies to the smaller price.
  • Markup and margin: markup is profit as a share of what it cost you; margin is profit as a share of what you sell it for.

Worked example

A shop buys a jacket for 80 and sells it for 100. The profit is 20. That is a markup of 25% (20 out of 80) and a margin of 20% (20 out of 100). Later the jacket gets 30% off, then a further 10% off at the till: the true total discount is 37%, so the 100 jacket costs 63.

FAQs

Why is 30% then 10% not 40%? Each discount is taken from the price left after the one before it. The calculator multiplies what remains: 0.70 x 0.90 = 0.63, so 37% off.

How do I find the price before tax? Use “Add or remove %”, choose “Amount already includes it”, and enter the tax percent.

What is the difference between markup and margin? Same profit, different base. A 25% markup is only a 20% margin, so do not mix them up when pricing.

Where the numbers come from

  • Standard percentage formulas. Nothing region-specific; fibub's own working.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-10.

Change log for Percentage calculator

  1. Give the 31 new tools their #T codes (T735-T765) Details on GitHub
  2. Cross-link batch 1 tools both ways and add their share images Details on GitHub
  3. Add percentage, tip, fuel cost and unit price calculators (#1716-#1719) Details on GitHub

Every change to fibub

Related tools

Budget planner #T10 Work out what a trip, project or event will cost and how much to save each month, or plan your monthly budget with weekly and yearly bills, and see your savings grow. Tip calculator #T751 Add a tip to a restaurant or taxi bill, choose whether it is worked out before or after tax, split it between people and round up what each person pays. Fuel cost #T752 Work out what a drive will cost in fuel, split it between passengers, and convert fuel economy between L/100 km, km/L, US mpg and UK mpg. Unit price #T753 Compare two to six products by price per 100 g, per litre or per item, across grams, kilos, ounces, pounds, millilitres, litres, fluid ounces, counts and sheets. Salary converter #T762 Convert between hourly, daily, weekly, biweekly, monthly and yearly pay before tax, with your hours, paid weeks and overtime. Break-even #T764 Find the units and sales you need to break even, the profit per unit and the units for a profit target, with a chart and a price-change what-if. Sales tax #T765 Add tax to a price or take it out of a tax-inclusive total: Canada GST/HST/PST/QST by province, US state plus local sales tax, UK VAT, India GST with the CGST/SGST or IGST split, and Gulf VAT. Bill splitter #T782 Split rent and household bills between roommates or family equally, by agreed share, by room size or by income, with each person's share of every bill and their monthly total. Net worth #T784 List your assets and debts to see your net worth, a chart of where it sits, and optional dated snapshots kept only on your device if you choose. Freelance rate #T791 Work out the hourly and day rate a freelancer needs to take home the pay they want after tax, business costs, holidays and unbillable time. Cash runway #T792 Find how many months your cash will last and the date it hits zero, from your monthly burn or your revenue and costs, with growth. Depreciation #T793 Spread the cost of an asset over its life with straight-line, declining balance, sum of the years' digits or units of production, with a schedule and CSV.