calculatortoolshub
Runs on your device

Percentage calculator

Calculate percentages, ratios, and original totals.

Your inputs

Calculation

Inputs stay on your device.

Your result
36

15% of 240

15 ÷ 100 × 240 = 36

Part 15.0% Remainder 85.0%
View breakdown
Calculation Percentage of a number
Precision Up to 6 decimal places
Estimate a monthly loan payment? Open Loan & EMI

What the percentage calculator does

A percentage calculator solves the three everyday proportion problems that come up in bills, invoices, budgets, and test scores: finding a percentage of a number, finding what percentage one number is of a total, and working backward from a known part to recover the original 100% total.

Most people reach for a calculator because the three percentage questions use different arithmetic orders—multiplying in one case, dividing the part by the total in the second, and dividing the part by the decimal rate in the third. Switching the segmented control at the top of the workspace relabels both input boxes and shows the exact substituted equation under the answer so you never mix up the numerator and denominator.

Every calculation runs locally inside your current browser tab. Financial figures, salary numbers, and invoice totals are never sent to a remote server or saved in browser storage.

Once you work out a down-payment percentage or annual interest rate, open the Loan & EMI Calculator to see how that principal and rate translate into a monthly payment and amortization schedule.

Common use cases

  • Sales tax, restaurant tips, and commissionsMultiply an invoice subtotal or restaurant bill by a percentage rate (such as 8.25% sales tax or a 20% gratuity) to see the exact dollar amount.
  • Budget share and expense ratiosDivide a line item (such as $1,650 in rent or $420 in materials) by your monthly income or project budget to see what share of the total it consumes.
  • Reverse invoice and deposit recoveryWhen a receipt shows that a 15% deposit equaled $360, divide the deposit by 0.15 to reconstruct the full $2,400 contract value.
  • Exam scores and completion trackingTurn raw point totals such as 42 out of 55 into a clean percentage grade (76.363636%).

How the three percentage formulas work

All three modes rearrange a single proportion: Part = (Percentage ÷ 100) × Total. Depending on which two values you already have, the calculator isolates the missing third variable.

X% of Y = (X ÷ 100) × Y | Ratio (%) = (X ÷ Y) × 100 | Original Total = X ÷ (Y ÷ 100)
  • X (Percentage or Part): In 'X% of Y' mode, X is the percentage rate per hundred. In 'X is ?% of Y' and 'X is Y% of ?' modes, X is the known part.
  • Y (Total or Percentage): In the first two modes, Y is the 100% base total. In 'X is Y% of ?' mode, Y is the known percentage rate.
  • Decimal multiplier (rate ÷ 100): Dividing any percentage by 100 converts it into the unitless decimal multiplier used in multiplication and division.

Intermediate math stays in full 64-bit IEEE 754 floating-point precision so chaining a result into a second calculation does not suffer from premature 2-decimal rounding. Only the final displayed answer is formatted to up to six decimal places.

According to NIST Special Publication 811, the symbol % represents the number 0.01 (one part per hundred) for expressing dimensionless ratios between two quantities of the same kind.

You can browse all related proportion and arithmetic utilities in the algebra, percentage, and unit conversion tools directory.

How to use this percentage calculator

Match the segmented mode at the top of the input card to the two numbers you have in front of you.

  1. Pick the calculation mode: Select 'X% of Y' when you know the percentage and the total, 'X is ?% of Y' when you know both numbers and want the percentage share, or 'X is Y% of ?' when you know a part and its percentage and want the original 100% total.
  2. Enter your two numbers: Type your values into the labelled fields or click one of the preset buttons above the form to load a sample scenario.
  3. Confirm and copy the answer: Press Calculate (or read the live output), inspect the substituted equation in the yellow note box, and click Copy to copy both the answer and equation.

Suppose a contractor invoice lists a $450 materials deposit labeled as 12% of the total bid, and you want to verify the full contract price. Select 'X is Y% of ?', enter 450 in the Part field and 12 in the Percentage field, and the result panel shows 3,750 ($3,750 total bid) along with the equation 450 ÷ (12 ÷ 100) = 3,750.

To verify that entered salary, tax, and invoice numbers never leave your device, read our client-side privacy architecture.

Worked numerical examples

Find 15% of 240 (e.g., tip or tax on $240)

15 ÷ 100 × 240

Result36
Find what percent 30 is of 150

30 ÷ 150 × 100

Result20%
Find the original total when 36 is 15% of it

36 ÷ (15 ÷ 100)

Result240
Common percentage, decimal, and fraction equivalents (with values on $240)
Common percentage, decimal, and fraction equivalents (with values on $240)
PercentageDecimal multiplierReduced fractionValue on 240Common real-world use
5%0.051 / 2012Cash-back rewards, sales tax, small fee
10%0.101 / 1024Standard tithe, service charge, waste allowance
15%0.153 / 2036Standard gratuity, deposit, or withholding share
20%0.201 / 548Full-service tip, standard mortgage down payment
25%0.251 / 460One quarter of a budget, estimated self-employment tax
50%0.501 / 2120Half-off clearance markdown, 50/50 split
75%0.753 / 4180Three quarters of a project milestone

Key percentage concepts and common pitfalls

Percentages always measure a part relative to a specific base value. Most calculation errors happen when the base shifts between two steps without being noticed.

Percentage of a number (X% of Y)

Converts the percentage X into a decimal (X ÷ 100) and multiplies by the base value Y. Because multiplication is commutative, 15% of 240 is identical to 240% of 15 (both equal 36).

Part-to-whole ratio (X is ?% of Y)

Divides the part X by the whole Y and multiplies by 100. When the part is larger than the base (for example, 180 out of 120), the ratio exceeds 100% (150%).

Reverse percentage (X is Y% of ?)

Divides the known part X by the decimal rate (Y ÷ 100) to reconstruct the original 100% total. Multiplying X by (1 + Y/100) is a common mistake that produces the wrong number.

Percent vs. percentage points

Moving an interest rate from 5% to 7% is an increase of 2 percentage points, but a 40% relative increase ((7 − 5) ÷ 5 × 100 = 40%) over the starting 5% rate.

When this calculator saves time and prevents errors

Putting forward, ratio, and reverse percentage calculations into one workspace eliminates manual decimal shifting and formula guesswork.

  • Dynamic field labels: Switching modes updates the field labels ('Percentage' vs. 'Part', 'Total' vs. 'Percentage') and the '%' unit badge so you always enter numbers in the right box.
  • Auditable equation line: Every result displays the exact arithmetic expression with your numbers plugged in, making it easy to double-check or paste into an email or spreadsheet note.
  • Visual part-to-remainder bar: For percentages between 0% and 100%, the split bar shows the visual ratio between the calculated part and the remaining balance.
  • Up to six decimal places: Handles fractional tax rates (such as 7.375%) and small basis-point ratios without rounding away significant digits.

If you need to print a clean record of a calculation for an expense report or client folder, press Print in the result header—the print stylesheet strips away navigation bars and prints only the inputs, answer, and equation.

When running blind A/B test splits, audit samples, or classroom raffles where you need unbiased draws, generate integer or decimal samples with the Random Number Generator.

Factors that affect percentage results and limitations

Several mathematical and rounding rules determine how percentage results behave in financial and everyday contexts.

  • Selection of the 100% base: In ratio mode, dividing A by B answers what percent A is of B, whereas dividing B by A answers the inverse question. Always verify which number represents the 100% reference point.
  • Display rounding vs. exact fractions: Fractions with prime denominators like 1/3 (33.333333%) or 1/7 (14.285714%) repeat infinitely in base 10; the calculator rounds displayed output to six decimal places.
  • Sequential percentage changes: Applying two successive discounts of 10% and 15% does not equal 25% off; the second discount applies to the already-reduced 90% price (0.90 × 0.85 = 0.765, or 23.5% total discount).
  • In 'X is ?% of Y' mode, the total Y cannot be zero because division by zero is undefined.
  • In 'X is Y% of ?' mode, the percentage Y cannot be zero because a 0% share contains no information about the original total.
  • Calculates single-step proportions only; multi-year compounded growth or amortizing loan interest requires a dedicated compounding or loan calculator.

When working with regulated financial disclosures, tax filings, or retail invoicing, check whether your jurisdiction requires rounding each line item to the nearest cent ($0.01) before summing or rounding only the final invoice total.

According to ISO 80000-1 Quantities and Units, percentages express a quotient of two quantities of the same dimension multiplied by 100, and should not be confused with percentage-point differences between two rates.

In quality control and tolerance checks where measurements must stay within a target margin, solve exact error intervals with the Absolute Value Inequalities Calculator.

Frequently asked questions

How do I calculate a percentage of a number?

Select 'X% of Y', enter the percentage in the first field and the total in the second field. The calculator divides the percentage by 100 to turn it into a decimal multiplier and multiplies that decimal by the total (for example, 15% of 240 = 0.15 × 240 = 36).

How do I find what percent one number is of another?

Select 'X is ?% of Y', enter the part X in the first box and the whole Y in the second box. The calculator divides the part by the whole and multiplies by 100 (for example, 30 out of 150 = (30 ÷ 150) × 100 = 20%).

How do I find the original total before a percentage was taken?

Select 'X is Y% of ?', enter the known part X in the first field and its percentage Y in the second field. The calculator divides X by (Y ÷ 100) to recover the original 100% base value (for example, if 36 is 15% of a bill, 36 ÷ 0.15 = 240).

Why does taking 20% off and then adding 20% back not return the original price?

The two percentages are applied to different base numbers. Taking 20% off $100 subtracts $20 (20% of $100), leaving $80. Adding 20% to $80 adds only $16 (20% of $80), bringing the total to $96 rather than $100.

What is the difference between a percent change and percentage points?

Percentage points measure the simple arithmetic subtraction between two percentages, whereas percent change measures the relative change divided by the starting rate. Moving from 4% to 6% is an increase of 2 percentage points, which is a 50% relative increase.

Why does a zero total or zero percentage show an error?

Dividing any number by zero is mathematically undefined. When finding a ratio (X ÷ Y) or recovering an original total (X ÷ (Y ÷ 100)), a zero denominator cannot produce a finite number, so the tool displays a clear explanation instead of Infinity or NaN.

Ready to use

Loading tools…