Sub topic 9
Percent as a Fraction Out of 100
This chapter assumes you can simplify fractions, convert between fractions and decimals, and know the benchmark equivalents such as 1/4 = 0.25 and 1/5 = 0.2. It also assumes you can solve a one-variable linear equation. Here you build the working model of percent that the rest of the percent chapters rely on.
What percent means
The word "percent" comes from the Latin per centum, "per hundred." A percent is a fraction whose denominator is 100.
- 37% means 37/100, which is 0.37.
- 5% means 5/100 = 1/20 = 0.05.
- 150% means 150/100 = 3/2 = 1.5.
Percent is a unit, like "dozen." A dozen means 12, and "percent" means "÷ 100." Every percent problem can be rewritten as a fraction or decimal problem by replacing the percent sign with "/100."
Three forms describe one quantity:
| Percent | Fraction | Decimal |
|---|---|---|
| 25% | 25/100 = 1/4 | 0.25 |
| 8% | 8/100 = 2/25 | 0.08 |
| 0.5% | 0.5/100 = 1/200 | 0.005 |
| 125% | 125/100 = 5/4 | 1.25 |
| 12.5% | 12.5/100 = 1/8 | 0.125 |
Converting among the three forms
Percent to decimal
Divide by 100, which moves the decimal point two places left.
- 42% → 0.42
- 7% → 0.07
- 0.3% → 0.003
- 230% → 2.3
Decimal to percent
Multiply by 100, which moves the decimal point two places right.
- 0.64 → 64%
- 0.045 → 4.5%
- 3.2 → 320%
Percent to fraction
Write the percent over 100, then simplify. When the percent contains a decimal, multiply the top and bottom by a power of 10 to clear it. For 12.5%, 12.5/100 = 125/1000 = 1/8.
Fraction to percent
Convert to a decimal by dividing, then multiply by 100. For 3/8, 3 ÷ 8 = 0.375, so 3/8 = 37.5%. An alternative is to scale the denominator to 100 when that is easy: 7/20 = 35/100 = 35%.
from fractions import Fraction
def percent_to_fraction(p):
return Fraction(str(p)) / 100
def fraction_to_percent(f):
return float(f * 100)
print(percent_to_fraction(12.5)) # 1/8
print(percent_to_fraction(8)) # 2/25
print(fraction_to_percent(Fraction(3, 8))) # 37.5Passing str(p) to Fraction avoids floating-point noise. Fraction(12.5) works because 12.5 is exactly representable, but a value such as 0.1 would produce a long, ugly fraction if passed as a float.
Percents above 100 and below 1
Percent is not limited to the range 0 to 100. Two cases are tested often.
- A percent above 100 describes a quantity larger than the reference amount. 250% of a number is 2.5 times that number.
- A percent below 1 describes a tiny fraction. 0.2% is 0.002, not 0.2. Confusing "0.2%" with "0.2" is a classic trap.
A quick check: 1% is 0.01, so any percent less than 1% must give a decimal less than 0.01.
The percent equation
Nearly every percent question has the same structure:
part = (percent/100) × whole
Each of the three quantities can be the unknown.
| Unknown | Question form | Rearranged equation |
|---|---|---|
| Part | What is 30% of 80? | part = 0.30 × 80 = 24 |
| Percent | 24 is what percent of 80? | percent = 24/80 × 100 = 30% |
| Whole | 24 is 30% of what number? | whole = 24 / 0.30 = 80 |
The next chapter works these out in full. Here the goal is to see that percent is only a ratio of part to whole, scaled by 100.
Translating English into math
The GRE words percent problems in ordinary language, so a translation habit pays off.
| Word or phrase | Math symbol |
|---|---|
| percent | /100 |
| of | × |
| is, are, was, equals | = |
| what, what number | variable x |
Applied to "35 is what percent of 140?":
35 = (x/100) × 140
x = 35 × 100 / 140 = 25
So 35 is 25% of 140.
Word order matters. In "A is what percent of B?", B is the whole and sits after "of." In "What percent of A is B?", A is the whole. Always find the word "of" and identify the whole before computing anything.
def what_percent(part, whole):
return part / whole * 100
# 35 is what percent of 140?
print(what_percent(35, 140)) # 25.0
# What percent of 140 is 35? Same question, same whole.
print(what_percent(35, 140)) # 25.0
# 140 is what percent of 35? The whole changes.
print(what_percent(140, 35)) # 400.0Percent is relative to a base
A percent has no meaning until you know what it is a percent of. The quantity that plays the role of 100% is the base (also called the whole or reference). Changing the base changes the answer:
- 10 is 50% of 20.
- 10 is 200% of 5.
- 10 is 10% of 100.
The same number, 10, is a different percent each time because the base differs. This idea returns in the percent change chapters, where choosing the wrong base is the most common error.
Useful shortcuts
Percent as a multiplier
Because p% equals p/100, finding p% of a number means multiplying by p/100. This is the basis of the multiplier method in later chapters. Some multipliers are worth seeing now:
- 50% of x = x/2
- 25% of x = x/4
- 10% of x = x/10
- 150% of x = 1.5x
Building a percent from 10% and 1%
When no benchmark fits, build the answer from pieces. To find 15% of 64:
- 10% of 64 = 6.4
- 5% of 64 = half of 6.4 = 3.2
- 15% of 64 = 6.4 + 3.2 = 9.6
To find 7% of 350, take 1% = 3.5 and multiply by 7 to get 24.5.
Swapping the percent and the whole
Because multiplication is commutative, x% of y equals y% of x. So 8% of 25 equals 25% of 8, which is 2. The second form is far easier to do mentally. Use this swap when one of the numbers is a friendly benchmark.
x, y = 8, 25
print(x / 100 * y) # 2.0
print(y / 100 * x) # 2.0Common errors
- Moving the decimal the wrong way or the wrong distance. 6% is 0.06, not 0.6. Test by remembering that 10% is 0.10, so 6% must be smaller than 0.10.
- Treating 0.5% as 50%. 0.5% is 0.005. Half a percent is one two-hundredth.
- Using the wrong whole. "What percent of 20 is 5?" has whole 20, giving 25%. "What percent of 5 is 20?" has whole 5, giving 400%.
- Dropping the unit. The answer to "what percent" must be multiplied by 100. A result of 0.25 is 25%, and an answer choice of 0.25% is wrong.
- Assuming percent cannot exceed 100. It can, whenever the part is larger than the whole.
Worked example
A survey of 480 students finds that 35% prefer online classes. Of those, 1/4 are first-year students. How many first-year students prefer online classes?
- Students who prefer online classes: 0.35 × 480 = 168.
- First-years among them: 168 × 1/4 = 42.
As a single expression, the share of all students is 35% × 25% = 0.35 × 0.25 = 0.0875, and 0.0875 × 480 = 42. The two routes agree, which is a useful check on the work.
total = 480
online = 0.35 * total
first_year = online / 4
print(online) # 168.0
print(first_year) # 42.0Exercise
Write 0.8%, 160%, and 62.5% each as a decimal and as a simplified fraction.
Show answer
0.8% = 0.008 = 8/1000 = 1/125. 160% = 1.6 = 160/100 = 8/5. 62.5% = 0.625 = 625/1000 = 5/8.
Exercise
18 is what percent of 45? Then answer: what percent of 18 is 45?
Show answer
18 is 18/45 × 100 = 40% of 45. For the second question the whole is 18 and the part is 45, so the percent is 45/18 × 100 = 250%.
Exercise
Without a calculator, find 24% of 50 by swapping the percent and the whole.
Show answer
24% of 50 equals 50% of 24, which is half of 24, so the answer is 12.