Percentage Calculator

Enter p as a percent (e.g., 15 = 15%). All fields sync live.

Mode 1 — How much is p% of x?

Example: 15% of 330 = 49.5. Relations: y = x × (p/100), p = 100 × y / x, x = 100 × y / p.

Mode 2 — x is what percent of y?

Formula: p = 100 × x / y (when y ≠ 0).

Mode 3 — x is p% of which number?

Example: 30 is 20% of 150. Formula: y = 100 × x / p (when p ≠ 0).

Actions

Step-by-step derivation

Mode 1
Provide any two of p, x, y.
Mode 2
Provide any two of x, y, p.
Mode 3
Provide any two of x, p, y.

Reference

  • y = x × (p/100), p = 100 × x / y, y = 100 × x / p
  • Here, user inputs p as a percentage number: 20 means 20%.
Notes: If y = 0, p = 100×x/y is undefined. If p = 0, y = 100×x/p is undefined.

Use this Percentage Calculator to solve the most common percentage problems in one place. You can calculate how much a percentage of a number is, find what percent one number is of another, or find the original whole when a part and percentage are known.

The calculator is useful for everyday math, shopping discounts, grades, finance, business, commissions, markups, comparisons, and classroom percentage practice. Enter the known values in the correct mode, and the calculator will solve the missing value.

Last updated: July 1, 2026

Method used: Standard percentage relationship between part, whole, and percent.

Important note: Percent means “per hundred.” A value of 20 means 20%, not 0.20%, unless the calculator specifically asks for a decimal. Always check whether you are entering a percent value, a part value, or a whole value before interpreting the result.

What This Percentage Calculator Calculates

This calculator solves three core percentage questions. Each mode uses the relationship between a part, a whole, and a percent.

Calculator Mode Question It Answers Known Values Result Found
Mode 1 How much is p% of x? Percent and whole Part
Mode 2 x is what percent of y? Part and whole Percent
Mode 3 x is p% of which number? Part and percent Whole

Core Percentage Formula

Every basic percentage problem connects three values: the part, the whole, and the percent.

Value Meaning Example
Part The portion of the whole. 30 students passed.
Whole The total amount or base value. 150 students took the test.
Percent The part expressed per 100 of the whole. 30 out of 150 is 20%.

The main relationship is:

Part = Whole × (Percent ÷ 100)

You can rearrange this relationship to solve for the missing value.

Percentage Formula Table

Question Formula Example
How much is p% of x? Part = x × (p ÷ 100) 15% of 330 = 330 × 0.15 = 49.5
x is what percent of y? Percent = 100 × x ÷ y 30 is what percent of 150? 100 × 30 ÷ 150 = 20%
x is p% of which number? Whole = 100 × x ÷ p 30 is 20% of what? 100 × 30 ÷ 20 = 150

How the Percentage Calculator Works

The calculator uses the same percentage relationship in different directions. Instead of making you rearrange the formula manually, it lets you choose the mode that matches your question.

Mode Calculation Logic When to Use It
Mode 1: Find the part Multiply the whole by the percent written as a decimal. Use this for “What is 25% of 80?”
Mode 2: Find the percent Divide the part by the whole, then multiply by 100. Use this for “45 is what percent of 180?”
Mode 3: Find the whole Divide the part by the percent rate. Use this for “60 is 15% of what number?”

How to Convert Percent to Decimal

When calculating manually, convert a percentage into decimal form by dividing by 100.

Percent Decimal Form Meaning
1% 0.01 1 per 100
5% 0.05 5 per 100
10% 0.10 10 per 100
25% 0.25 25 per 100
50% 0.50 50 per 100, or half
100% 1.00 The whole amount
150% 1.50 One and a half times the whole

For example, 25% of 80 means 80 × 0.25, which equals 20.

How to Use This Percentage Calculator

  1. Choose the mode that matches your percentage question.
  2. Enter the known values in the input fields.
  3. Leave the unknown value for the calculator to solve.
  4. Review the result and the step-by-step formula shown by the tool.
  5. Use the reload option to clear the calculator and start again.

Because the calculator is designed for percentage relationships, make sure you use the correct mode. For example, “20% of 150” and “20 is what percent of 150” are different questions and require different modes.

Worked Example 1: Find p% of a Number

Suppose you want to find 18% of 250.

Step Calculation Result
Convert percent to decimal 18 ÷ 100 0.18
Multiply by the whole 250 × 0.18 45
Final answer 18% of 250 45

So, 18% of 250 is 45.

Worked Example 2: Find What Percent One Number Is of Another

Suppose you want to know what percent 45 is of 180.

Step Calculation Result
Divide the part by the whole 45 ÷ 180 0.25
Convert decimal to percent 0.25 × 100 25%
Final answer 45 is what percent of 180? 25%

So, 45 is 25% of 180.

Worked Example 3: Find the Whole from a Part and Percent

Suppose you know that 60 is 15% of a number.

Step Calculation Result
Use the whole formula Whole = 100 × part ÷ percent Formula selected
Substitute values Whole = 100 × 60 ÷ 15 Calculation setup
Calculate 6000 ÷ 15 400
Final answer 60 is 15% of what number? 400

So, 60 is 15% of 400.

How to Interpret Percentage Results

Result Type What It Means Example Interpretation
Part result The amount represented by a percentage of the whole. 20% of 150 is 30, so 30 is the part.
Percent result The part expressed as a percentage of the whole. 30 out of 150 is 20%.
Whole result The original total when a part and percent are known. If 30 is 20%, the whole is 150.
Result above 100% The part is greater than the whole, or the comparison increased beyond the base. 120 is 150% of 80.
Result below 1% The part is very small compared with the whole. 1 out of 500 is 0.2%.
Zero percent The part is zero compared with a nonzero whole. 0 out of 200 is 0%.

Common Percentage Questions

Question Correct Mode Example
What is 15% of 330? Mode 1 Find the part.
45 is what percent of 180? Mode 2 Find the percent.
60 is 15% of what number? Mode 3 Find the whole.
What score did I get if I answered 42 out of 50 correctly? Mode 2 42 is what percent of 50?
How much is a 20% tip on $75? Mode 1 Find 20% of 75.
If $30 is 40% of my budget, what is the full budget? Mode 3 Find the whole.

Percentage vs Percentage Change

A basic percentage calculation is not the same as a percentage change calculation. This calculator handles basic percentage relationships. If you want to compare how much a value increased or decreased from one number to another, use a percentage change calculator.

Calculation Type Question It Answers Formula Idea
Basic percentage What is the relationship between part, whole, and percent? Part = whole × percent
Percentage increase How much did a value increase compared with the original? Increase ÷ original × 100
Percentage decrease How much did a value decrease compared with the original? Decrease ÷ original × 100
Percentage difference How different are two values relative to their average? Difference ÷ average × 100

Percentage vs Percentile

Percentage and percentile sound similar, but they are not the same.

Term Meaning Example
Percentage A value expressed per 100. 80% means 80 out of 100.
Percentile A position in a ranked group. The 80th percentile means a value is higher than about 80% of the comparison group.

Use this calculator for percentages. For ranked test scores, growth charts, or statistical distribution positions, you may need a percentile calculator instead.

Practical Uses of a Percentage Calculator

Use Case How the Calculator Helps
Shopping discounts Find how much money a percentage discount removes from a price.
Sales tax and tips Calculate a percentage of a bill, subtotal, or service amount.
Grades and test scores Find what percent of questions were answered correctly.
Business markups Calculate percentage-based markups, fees, or commissions.
Finance comparisons Compare part-to-whole values such as savings rate, expense share, or allocation percentage.
Budget planning Find how much of a budget is used by a category.
Recipe scaling Calculate ingredient percentages or portions.
Classroom math Practice part, whole, and percent relationships step by step.

Valid Inputs and Edge Cases

Input Situation Meaning How to Handle It
Whole is zero in Mode 2 The calculation x ÷ y is undefined when y = 0. Use a nonzero whole value.
Percent is zero in Mode 3 The calculation 100 × x ÷ p is undefined when p = 0. Use a nonzero percentage when finding the whole.
Part is zero The part may represent 0% of a nonzero whole. This is valid when the whole is not zero.
Percent above 100% The part can be greater than the whole. This is valid in many comparisons, such as growth, overachievement, or ratios above the base.
Negative values Negative values can appear in some financial or mathematical contexts. Interpret them carefully, especially for debts, losses, or negative changes.
Very small values Results may require several decimal places. Use enough precision for scientific, finance, or measurement work.
Rounded results The displayed value may be rounded. Manual calculations may differ slightly depending on decimal precision.

Common Mistakes to Avoid

Mistake Why It Causes Problems Correct Approach
Entering 0.20 when the calculator expects 20% 0.20 may be interpreted as 0.20%, not 20%. Enter 20 when the field asks for a percentage number.
Confusing part and whole Swapping the values changes the result. Identify the total as the whole and the portion as the part.
Using basic percentage for percentage change Percentage change needs an original and new value. Use a percentage change calculator for increases or decreases.
Dividing by zero Some percentage formulas are undefined when the denominator is zero. Check that the whole or percent is not zero when required.
Assuming every percent must be below 100% Percentages can be greater than 100 in many valid comparisons. Interpret values above 100% as more than the whole or base.
Ignoring rounding Rounded results can differ slightly from exact values. Use more decimal places when precision matters.

When You May Need a Different Calculator

This calculator is designed for basic part-whole-percent relationships. Some percentage-related problems require a different formula.

Need Use Instead Reason
Find how much a value increased or decreased Percentage Change Calculator It compares old and new values.
Find a sale price after a discount Percent Off Calculator It includes discount savings and sale price logic.
Find tax-inclusive or tax-exclusive price VAT Calculator or Sales Tax Calculator Tax calculations may require special rules.
Find grade average or weighted score Grade Calculator or Weighted Grade Calculator Grades may use weights, categories, and final exam requirements.
Compare product value Weight Price Comparison Calculator Unit price may be more useful than percent off.
Convert fractions to percentages Fraction to Percentage Calculator It handles fraction-specific conversion and simplification.

Assumptions and Limitations

  • This calculator uses standard percentage formulas based on part, whole, and percent.
  • It assumes the values entered by the user are correct.
  • It treats percent inputs as normal percentage numbers, so 20 means 20%.
  • It does not automatically determine whether your problem is a basic percentage, percentage change, markup, discount, tax, or weighted average problem.
  • Mode 2 is undefined when the whole value is zero.
  • Mode 3 is undefined when the percent value is zero.
  • Rounded results may differ slightly from manual calculations depending on decimal precision.
  • For finance, tax, legal, academic grading, or official reporting, verify the formula and rounding rules required by the relevant organization.

Formula Summary

Problem Type Formula Use When
Find the part Part = Whole × (Percent ÷ 100) You know the whole and percent.
Find the percent Percent = 100 × Part ÷ Whole You know the part and whole.
Find the whole Whole = 100 × Part ÷ Percent You know the part and percent.
Convert percent to decimal Decimal = Percent ÷ 100 You need to multiply by a percentage.
Convert decimal to percent Percent = Decimal × 100 You need to express a ratio as a percent.

Frequently Asked Questions

What is a percentage?

A percentage is a value expressed per 100. For example, 25% means 25 out of 100, or 0.25 in decimal form.

How do I calculate p% of x?

Use the formula part = x × (p ÷ 100). For example, 15% of 330 equals 330 × 0.15 = 49.5.

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

Use the formula percent = 100 × part ÷ whole. For example, 30 out of 150 equals 100 × 30 ÷ 150 = 20%.

How do I find the whole if I know the part and percent?

Use the formula whole = 100 × part ÷ percent. For example, if 30 is 20% of a number, the whole is 100 × 30 ÷ 20 = 150.

Is 0.20 the same as 20%?

In decimal form, 0.20 equals 20%. However, if a calculator field asks for a percentage number, you should usually enter 20, not 0.20.

Can a percentage be greater than 100%?

Yes. A percentage can be greater than 100% when the part is greater than the whole or when a value exceeds the original base.

Why is my percentage result undefined?

A percentage result can be undefined when the formula requires division by zero. For example, “x is what percent of y” is undefined when y equals zero.

What is the difference between percentage and percentage change?

A percentage expresses a part-whole relationship. Percentage change compares how much a value increased or decreased from an original value.

Can I use this calculator for discounts?

Yes, you can use it to find the discount amount, such as 20% of $80. To calculate sale price, savings, and tax together, a Percent Off Calculator may be more direct.

Can I use this calculator for grades?

Yes. For example, if you scored 42 out of 50, use Mode 2 to find 42 is what percent of 50. The result is 84%.

Report an Issue

If you notice an incorrect result, unclear explanation, broken input field, or formatting problem with this Percentage Calculator, please contact us through the Contact Us page. Include the mode you used, the values you entered, the result shown, and what you expected to see so we can review the issue.

References

  1. OpenStax Prealgebra 2e — Understand Percent
  2. OpenStax Prealgebra 2e — Solve General Applications of Percent
  3. Khan Academy — Meaning of Percent

Related Calculators

Percentage Calculator Disclaimer

This Percentage Calculator provides educational and general calculation results only. It solves standard part-whole-percent relationships based on the values entered by the user.

The calculator does not verify whether your input values are correct, whether the selected mode matches your real-world problem, or whether a specific school, business, tax authority, finance provider, or organization uses different rounding or calculation rules.

For academic grading, business reports, taxes, invoices, financial decisions, legal documents, or official records, verify the result with the required formula, policy, or professional guidance. Rounded results may differ slightly depending on decimal precision and formatting.

More of our calculators...

Basic Calculator

Use this free basic calculator to solve addition, subtraction, multiplication, division, decimals, percentages, and parentheses-based math expressions.

Scientific Calculator

Use this Scientific Calculator to solve advanced math expressions with trigonometry, logarithms, powers, roots, constants, percentages, factorials, and angle modes.

Fraction Calculator

Use this Fraction Calculator to add, subtract, multiply, and divide fractions with simplified results, decimals, mixed numbers, GCD, and steps.

Mixed Number Calculator

Use this Mixed Number Calculator to add, subtract, multiply, and divide mixed numbers, convert to improper fractions, decimals, and view steps.

Decimal to Fraction Calculator

Use this Decimal to Fraction Calculator to convert decimals into simplified fractions, mixed numbers, percentages, and closest simple fractions with steps.

Fraction to Decimal Calculator

Use this Fraction to Decimal Calculator to convert proper, improper, and mixed fractions into decimal values, percentages, simplified fractions, and steps.

Ratio Calculator

Use this Ratio Calculator to simplify ratios, create equivalent ratios, divide totals by 2-part or 3-part ratios, and view calculation steps.

Proportion Calculator

Use this Proportion Calculator to solve missing values in A/B = C/D, compare two ratios, check proportions, and view cross multiplication steps.

GCF Calculator

Use this GCF Calculator to find the greatest common factor of two or more whole numbers, with common factors, LCM, positive values, and steps.