Skip to main content
Toolsbase Logo

Percentage Calculator

Calculate percentages easily. Find "What is 20% of 100?", "What percent is 50 of 200?", or "If 30 is 25%, what is the total?"

Last updated:

How to Use

Expand how to use
  1. 1

    Select Calculation Mode

    Choose from 'Find B% of A', 'What percent is A of B?', or 'If A is B%, what is the total?'

  2. 2

    Enter Values

    Enter the required numbers based on your selected mode.

  3. 3

    View Results

    The calculation result is displayed in real-time.

Calculation Mode

Result

Please enter numbers

About Percentage Calculator

Percentage Calculator is an online tool that makes various percentage calculations easy. From basic calculations like "What is 20% of 100?" to ratio calculations like "What percent is 50 of 200?" and reverse calculations like "If 30 is 25%, what is the total?" - it supports three calculation modes. Instantly perform percentage calculations frequently used in daily life and business.

Key Features

  • Supports 3 calculation modes (value calculation, ratio calculation, total reverse calculation)
  • Real-time calculation results
  • Accurate decimal point calculations
  • Handles large numbers
  • Simple and intuitive interface

Use Cases

  • Calculating a restaurant tip — 15%, 18%, or 20% of the bill total
  • Finding the sale price after a 25% or 30% off discount at a store
  • Checking your exam or test score as a percentage (e.g., 42 out of 50)
  • Calculating profit margin or markup percentage for a product or service
  • Finding the percentage change between last month's and this month's figures
  • Working backwards — if 240 students is 60% of the class, how many total?

FAQ

What's the difference between the 3 calculation modes?

"Find B% of A" calculates the value (20% of 100 = 20), "What percent is A of B?" calculates the ratio (50 is 25% of 200), and "If A is B%, what is the total?" reverse calculates the total (if 30 is 25%, total is 120).

What are the percentage formulas?

"B% of A" = A × B ÷ 100, "A is what % of B" = A ÷ B × 100, "If A is B%, total" = A ÷ B × 100.

How many decimal places are calculated?

Calculations are performed within JavaScript's floating-point precision range. Practically, this provides about 15-16 digits of precision. Display is rounded as needed.

Can I divide by 0?

For "What percent is A of B?" when B is 0, or "If A is B%, what is the total?" when B is 0, an error message is displayed as division by zero is not possible.

Is my input data saved?

No. Calculations run as JavaScript in your browser. Input data is not transmitted or saved on any server, and is cleared when you close the page.