Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Percentage Calculator

Calculate percentages instantly with 5 different modes: find X% of Y, what percent X is of Y, increase/decrease values, percent change, and percent difference.

What is Percentage Calculator?

Percentage Calculator is a versatile tool that helps you solve common percentage problems quickly and accurately. Whether you're calculating tips, discounts, test scores, or tracking price changes, this calculator provides instant results with clear step-by-step formulas.

Five Calculation Modes

The calculator includes five essential percentage operations:

What is X% of Y?

Find a percentage of any number (e.g., 15% of $50 = $7.50)

X is what % of Y?

Determine what percentage one number is of another (e.g., 45 out of 60 = 75%)

Increase/Decrease by %

Add or subtract a percentage from a value (e.g., $80 with 25% off = $60)

Percent Change

Calculate the percentage increase or decrease between two values

Percent Difference

Find the relative difference between two numbers

Who Should Use This Tool?

Students

Perfect for academic calculations

  • Calculate grades and test scores
  • Track homework percentages
  • Understand score distributions

Shoppers

Make smart purchasing decisions

  • Calculate sale prices instantly
  • Compare discounts effectively
  • Determine final costs with tax

Business Owners

Essential for financial planning

  • Calculate markups and margins
  • Track price changes
  • Analyze profit percentages

Everyone

Daily percentage needs

  • Calculate tips at restaurants
  • Track budget percentages
  • Compare values quickly

How to Use Percentage Calculator

1

Choose Your Calculation Mode

All five calculation modes are visible on screen. Select the one that matches your needs - whether you're finding a percentage, comparing values, or calculating changes.

2

Enter Your Values

Type numbers directly into the input fields. The calculator accepts whole numbers and decimals. Use Tab to move between fields quickly.

3

View Instant Results

Results update automatically as you type - no need to press calculate. The answer appears immediately with the complete formula breakdown.

4

Check the Formula

See the calculation steps below each result. Numbers are highlighted in purple boxes, making it easy to understand how the answer was calculated.

Using Preset Values

For common percentages, the calculator provides quick-access presets to save you time:

  • Click any empty percentage input field
  • A dropdown appears with common values (5%, 10%, 15%, 20%, 25%, 50%)
  • Click a preset to instantly apply it to your calculation
Pro Tip: Preset dropdowns only appear when the input field is empty. Clear any existing value first to access the presets.

Swapping Values

Some calculation modes include a convenient swap button between input fields. Click it to instantly exchange the values and see how the result changes - perfect for comparing different scenarios.

Copying Results

Click the copy icon next to any result to instantly copy it to your clipboard. This makes it easy to paste the answer into spreadsheets, documents, or other applications.

Understanding the Formulas

Each calculation displays the mathematical formula used, with visual enhancements for clarity:

  • Numbers appear highlighted in purple boxes for easy identification
  • Operators (÷, ×, +, -) are clearly shown between values
  • Results are highlighted with a darker background to stand out

Need Help?

Click the "Example" button below each calculation mode to see a practical use case. These examples explain when and how to use that specific calculation in real-world situations.

Features

Five Complete Calculation Modes

What is X% of Y?

Calculate a percentage of any number. Perfect for tips, taxes, and discounts.

  • Formula: X ÷ 100 × Y
  • Example: 20% of 150 = 30
  • Use cases: Restaurant tips, sales tax, discount amounts

X is What Percent of Y?

Find what percentage one number represents of another. Great for test scores and ratios.

  • Formula: X ÷ Y × 100
  • Example: 45 is 75% of 60
  • Use cases: Test scores, completion rates, portion calculations

Increase or Decrease by Percentage

Add or subtract a percentage from a base value. Ideal for markups and discounts.

  • Increase formula: Value + (Value × % ÷ 100)
  • Decrease formula: Value - (Value × % ÷ 100)
  • Example: $80 decreased by 25% = $60
  • Use cases: Sale prices, price markups, budget adjustments

Percent Change

Calculate the percentage increase or decrease between two values. Essential for tracking growth or decline.

  • Formula: (New - Old) ÷ Old × 100
  • Shows increase with green badge or decrease with red badge
  • Example: From $40 to $52 = +30% increase
  • Use cases: Price changes, growth rates, performance tracking

Percent Difference

Find the relative difference between two values without considering direction.

  • Formula: |A - B| ÷ ((A + B) ÷ 2) × 100
  • Example: Difference between 45 and 55 = 20%
  • Use cases: Comparing measurements, analyzing variations, quality control

Additional Features

Live Calculation

Results update instantly as you type - no waiting, no button clicks required.

Preset Percentages

Quick access to common values (5%, 10%, 15%, 20%, 25%, 50%) with one click.

Step-by-Step Formulas

See exactly how each calculation works with highlighted numbers and operators.

Swap Button

Quickly exchange values to compare different scenarios and results.

Copy to Clipboard

One-click copying of results for easy pasting into other applications.

Practical Examples

Expandable examples for each mode showing real-world use cases.

Dark Mode Support

Comfortable viewing in any lighting condition with automatic theme switching.

Mobile Responsive

Works perfectly on all devices - phones, tablets, and desktops.

Your Data Stays Private

All calculations happen directly in your browser, ensuring complete privacy and security:

Traditional Calculators

Server-Based Processing

  • Data sent to remote servers
  • Potential tracking and logging
  • Network delays affect speed
  • Privacy concerns
Our Calculator

Client-Side Processing

  • All data stays on your device
  • Zero tracking or data collection
  • Instant results with no delay
  • Complete privacy guaranteed
Privacy Guarantee: Your numbers never leave your device. We don't track, store, or transmit any calculation data.

Frequently Asked Questions

What's the difference between percent change and percent difference?

Percent change measures how much a value increased or decreased from an original value. It has a direction (positive for increase, negative for decrease) and considers one value as the baseline.

Percent difference compares two values without considering which is the "original" - it simply measures how different they are from each other relative to their average. This is useful when neither value is inherently the starting point.

Example: If a stock goes from $50 to $60, the percent change is +20%. But the percent difference between $50 and $60 is 18.18% (neither is treated as the baseline).

How do I calculate a discount?

Use the "Increase/Decrease by %" mode and follow these steps:

  • Select "Decrease" from the dropdown
  • Enter the original price in the first field
  • Enter the discount percentage in the second field
  • The result shows the final price after discount

Example: A $100 item with 20% off → Enter 100 and 20%, result is $80 (you save $20).

How do I calculate a tip?

Use the "What is X% of Y?" mode:

  • Enter the tip percentage (common values: 15%, 18%, or 20%)
  • Enter your bill amount
  • The result shows the tip amount to add

Example: For a $50 bill with 18% tip → Enter 18 and 50, result is $9 tip (total bill: $59).

Quick Tip: Use the preset dropdown to quickly select common tip percentages like 15%, 18%, or 20%.

How do I find what percentage I scored on a test?

Use the "X is what % of Y?" mode:

  • Enter your score (points earned) as X
  • Enter the total possible points as Y
  • The result shows your percentage score

Example: You got 45 correct out of 60 questions → Enter 45 and 60, result is 75%.

What happens if I divide by zero?

The calculator handles division by zero gracefully by displaying "-" instead of an error message. This prevents confusion and maintains a clean interface.

Division by zero can occur in these scenarios:

  • Percent change: When the original value is 0
  • Percent difference: When both values are 0
  • X is what % of Y: When Y is 0

Can I use decimal numbers?

Yes! The calculator fully supports decimal numbers in all input fields. You can enter values like:

  • Percentages: 12.5%, 7.25%, 99.99%
  • Amounts: $19.99, 45.67, 1000.50
  • Precise calculations: 33.333, 66.667

Simply type the decimal point as you would normally, and the calculator will handle it accurately.

Why does the dropdown not appear when I click the input?

The preset dropdown only appears when the percentage input field is completely empty. This is by design to prevent accidental overwrites of your custom values.

To access presets:

  • Clear any existing value in the percentage field
  • Click the empty field
  • The dropdown with common percentages will appear

Is my data saved anywhere?

No. All calculations happen locally in your browser using JavaScript. Your numbers are never sent to any server, and we don't store any calculation history.

Complete Privacy: Your data stays on your device. No tracking, no storage, no transmission - guaranteed.

Can I use keyboard shortcuts?

Yes! The calculator supports standard keyboard navigation:

  • Tab - Move to the next input field
  • Shift + Tab - Move to the previous input field
  • 0-9 - Enter numeric values
  • . (period) - Enter decimal point
  • - (minus) - Enter negative numbers
  • Enter - Confirm value in current field

All standard text editing shortcuts (Ctrl+C, Ctrl+V, Ctrl+A) work normally in input fields.

What is X% of Y ?

What is
% of ?
= -

Calculate tips, discounts, or taxes. E.g., "What is 15% tip on a $50 bill?" → 15% of 50 = $7.50

X is what % of Y ?

is what % of ?
= - %

Find ratios or scores. E.g., "Got 45 out of 60 questions correct, what's my score?" → 45 is 75% of 60

X increase/decrease by Y%

%
= -

Apply discounts or markups. E.g., "A $80 item with 25% off" → 80 - 25% = $60

Change from X to Y is what % ?

From to
= - %

Track growth or decline. E.g., "Stock went from $40 to $52, what's the gain?" → +30% increase

Difference between X and Y is what % ?

Difference between and
= - %

Compare two values. E.g., "Compare prices $45 vs $55" → 20% difference

Enter values and see instant results as you type
Use preset percentages (5%, 10%, 15%...) for quick calculations
Click the swap button to exchange values
View the step-by-step formula below each result
Click copy to copy the result to clipboard
All calculations done locally in your browser
Want to learn more? Read documentation →
1/7
Start typing to search...
Searching...
No results found
Try searching with different keywords