# Percentage calculator

# percentage calculator:

A percentage is a fraction expressed as a part of 100. To calculate a percentage, you need to divide the part by the whole and multiply by 100. Here’s an example:

**Suppose you have 25 red apples and 75 green apples. What percentage of the apples are red?**

**Step 1:** Add the number of red and green apples to get the total number of apples: 25 + 75 = 100.

**Step 2:** Divide the number of red apples by the total number of apples: 25 / 100 = 0.25.

**Step 3:** Multiply by 100 to convert to a percentage: 0.25 x 100% = 25%.

So 25% of the apples are red.

**Here’s the calculator:**

Input the part: 25 Input the whole: 100

Result: 25%

## Step-by-step guide on how to calculate percentages:

**Step 1:** Convert the percentage to a decimal by dividing by 100.

**Step 2:** Multiply the decimal by the whole number to find the part.

**Step 3:** If you need to find the whole number or the percentage, you can use algebraic manipulation to rearrange the formula.

**Let’s use an example to illustrate the steps:**

Suppose you want to calculate 20% of 150.

**Step 1:** Convert the percentage to a decimal by dividing by 100: 20/100 = 0.2.

**Step 2:** Multiply the decimal by the whole number to find the part: 0.2 x 150 = 30.

So 20% of 150 is 30.

**If you needed to find the whole number, you could use the formula:**

part/whole = percentage/100

**Rearrange this formula to solve for the whole:**

whole = part / (percentage/100)

**Substitute the values into the formula:**

whole = 30 / (20/100) = 150

So the whole number is 150.

**If you needed to find the percentage, you could use the formula:**

percentage = (part/whole) x 100

**Substitute the values into the formula:**

percentage = (30/150) x 100 = 20%

So the percentage is 20%.