Percentage Calculator

What is P% of X?

Calculate the percentage amount of any base number.

Amount
Try:

X is what % of Y?

Find what percentage one number represents out of another.

Percentage Rate % Rate
Try:

X is P% of what?

Find the original total value when you know the portion and percentage.

Base Value
Try:

More percentage calculators

Choose the exact type of percentage problem you need.

Percentage change

Compare an old value with a new value, or increase/decrease a number by a chosen percentage.

About the Free Online Percentage Calculator

Toolslight’s free online percentage calculator lets you quickly solve any percentage problem with clear, step-by-step arithmetic. Whether you need to find what percent one number is of another, calculate a percentage of a number, determine percentage change (increase or decrease), or compute percentage difference between two values, this all-in-one percentage solver gives you instant, accurate answers directly in your browser.

Beyond standard mathematical equations, this toolkit features dedicated calculators for everyday financial tasks—including sales tax, discounts, restaurant tips and bill splitting, as well as business metrics like cost markup vs. profit margin and reverse percentage calculations. All calculations execute locally with zero data storage, ensuring 100% privacy.

Core equation: Percentage × Base value = Result. You can enter any two values to solve for the third automatically.

What Is a Percentage and How Does It Work?

A percentage is a mathematical ratio or dimensionless number expressed as a fraction of 100. Derived from the Latin per centum meaning "by the hundred", it is symbolized by the percent sign (%). For example, 25% represents the fraction 25/100, which simplifies to 1/4 or the decimal 0.25.

Percentages provide a standardized benchmark to compare values of different scales. For instance, scoring 42 out of 50 on an exam and 84 out of 100 both represent 84%, making comparisons clear and intuitive across grades, finance, demographics, and scientific measurements.

The Core Percentage Formulas: Solving for Any Variable

All fundamental percentage calculations originate from the primary equation:

Percentage (decimal) × Base Value = Result  (P × V = R)

By rearranging this algebraic relationship, our percentage calculator can solve for any unknown value when two known parameters are provided:

  • Finding the Result (What is P% of V?): Convert the percentage to a decimal and multiply by the base: Result = (P ÷ 100) × V. For example, 20% of 60 is (20 ÷ 100) × 60 = 0.20 × 60 = 12.
  • Finding the Percentage (X is what % of Y?): Divide the result by the base and multiply by 100: Percentage = (R ÷ V) × 100. For example, 15 is what percent of 60? (15 ÷ 60) × 100 = 0.25 × 100 = 25%.
  • Finding the Base Value (X is P% of what?): Divide the result by the decimal percentage: Base = R ÷ (P ÷ 100). For example, 50 is 25% of what? 50 ÷ 0.25 = 200.

Percentage Change vs. Percentage Difference: What Is the Difference?

While often confused, percentage change and percentage difference serve distinct mathematical purposes:

  • Percentage Change (Directional Growth or Shrink): Compares an Old value to a New value across time. Because it measures direction from a specific starting baseline, order matters:
    Percentage Change = ((New − Old) ÷ |Old|) × 100
    A positive percentage indicates an increase (e.g. population growth, price hike), whereas a negative percentage indicates a decrease or discount.
  • Percentage Difference (Symmetrical Comparison): Compares two concurrent values where neither number is the "original" baseline. It evaluates the absolute difference relative to their average:
    Percentage Difference = (|Value₁ − Value₂| ÷ ((Value₁ + Value₂) ÷ 2)) × 100
    Because the average serves as the denominator, the order of numbers does not alter the result (e.g., comparing the heights of two trees or prices in two competing stores).

Real-World Applications: Discounts, Taxes, Tips, Markup, and Margin

Percentages are essential to personal finance and commercial transactions. Our calculator offers specialized shortcuts tailored to these calculations:

  • Discounts & Sale Prices: Subtract the discount percentage from 100% and multiply by the original retail price: Sale Price = Price × (1 − Discount ÷ 100). A 25% discount on an $80 item yields $80 × 0.75 = $60.
  • Sales Tax & Tips: Add the percentage rate to 100% to calculate the gross amount: Total = Subtotal × (1 + Rate ÷ 100). Adding 8.25% sales tax to a $100 purchase yields $100 × 1.0825 = $108.25.
  • Markup vs. Profit Margin: In business, markup measures profit relative to item cost: ((Selling Price − Cost) ÷ Cost) × 100. Conversely, profit margin measures profit relative to the selling price: ((Selling Price − Cost) ÷ Selling Price) × 100. For a product purchased for $60 and sold for $100, the profit is $40, yielding a 66.67% markup but a 40% profit margin.

Step-by-Step Worked Examples

Example 1: Finding 15% Tip on a $75 Restaurant Bill

Step 1: Convert 15% to decimal: 15 ÷ 100 = 0.15.

Step 2: Multiply by the bill amount: $75 × 0.15 = $11.25 (tip amount).

Step 3: Add to bill for total: $75 + $11.25 = $86.25.

Example 2: Calculating Percentage Increase from $40 to $50

Step 1: Calculate change: 50 − 40 = 10.

Step 2: Divide by original value: 10 ÷ 40 = 0.25.

Step 3: Multiply by 100: 0.25 × 100 = 25% increase.

100% Free, Private, and Client-Side

Every calculation on Toolslight runs locally inside your browser's JavaScript engine. Your inputs, figures, and recent calculation history are never uploaded, logged, or transmitted across the web. You can bookmark and use this percentage tool freely on mobile or desktop without signing up or creating an account.

Frequently Asked Questions FAQs

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

To find what percent one number X is of another number Y, divide X by Y and multiply by 100: (X ÷ Y) × 100 = percent. For example, if X = 20 and Y = 50, then (20 ÷ 50) × 100 = 40%, meaning 20 is 40% of 50.

What is the formula for percentage increase and decrease?

Percentage increase or decrease compares a new value to an original starting value: ((New − Original) ÷ Original) × 100. A positive result indicates a percentage increase, while a negative result represents a percentage decrease. For example, if Original = 40 and New = 50, then ((50 − 40) ÷ 40) × 100 = +25% increase.

How is percentage difference calculated?

Percentage difference measures the relative gap between two values compared to their average: (|Value₁ − Value₂| ÷ ((Value₁ + Value₂) ÷ 2)) × 100. Because it uses the average as the denominator, the order of the numbers does not affect the result. For instance, between 10 and 6: (|10 − 6| ÷ ((10 + 6) ÷ 2)) × 100 = (4 ÷ 8) × 100 = 50%.

How do I calculate a percentage of a number?

To calculate P% of a number X, convert the percentage into a decimal by dividing by 100, then multiply by X: (P ÷ 100) × X = Result. For example, to find 20% of 60: (20 ÷ 100) × 60 = 0.20 × 60 = 12.

What is the basic percentage formula?

The central percentage relationship is P × V = R, where P is the percentage written as a decimal, V is the base value, and R is the result. To solve for P: (R ÷ V) × 100 = P%. To solve for V: R ÷ (P ÷ 100) = V. To solve for R: (P ÷ 100) × V = R.

How do I calculate a discount or tax using percentages?

For a discount, subtract the discount percentage from 100% and multiply by the original price: Sale Price = Original × (1 − Discount ÷ 100). For tax or tips, add the percentage to 100%: Total = Original × (1 + Tax Rate ÷ 100). For example, a 15% tip on $100 gives $100 × 1.15 = $115.

What is the difference between profit margin and markup?

Markup is the percentage increase from cost to selling price: ((Selling Price − Cost) ÷ Cost) × 100. Profit margin is the profit expressed as a percentage of the selling price: ((Selling Price − Cost) ÷ Selling Price) × 100. For an item that costs $80 and sells for $100, markup is 25% while profit margin is 20%.

Why is my percentage answer so small?

A small percentage usually means you divided by a base value that is significantly larger than your numerator. Always confirm you are calculating (Part ÷ Whole) × 100, where the whole represents the total baseline amount.

What does 100% represent?

A percentage expresses a fraction of a total. 100% always represents the complete whole or original starting value (100 ÷ 100 = 1.0). Any percentage greater than 100% indicates an amount that exceeds the original whole.

How is percentage difference vs percentage change defined?

Percentage change compares an old value to a new value over time, preserving direction (increase or decrease). Percentage difference compares two values symmetrically using their average, meaning neither number serves as the baseline and order does not matter.