How it works
A ratio compares two amounts: 4 : 6 (said “4 to 6”) means there are 4 of one thing for every 6 of another. This calculator does the three things people most often need with ratios:
- Simplify a ratio, writing it with the smallest whole numbers that keep the same comparison: 4 : 6 is 2 : 3.
- Find the missing number in a proportion (two equal ratios): if 4 : 6 = 10 : ?, the missing number is 15.
- Split a total in a ratio: 100 shared in the ratio 4 : 6 is 40 and 60.
You can type whole numbers, decimals (1.5), fractions (3/4), or mixed numbers (1 1/2). The calculator works with exact fractions behind the scenes, so nothing gets rounded until the answer is shown.
The formula
Simplify A : B. If either part is a decimal or a fraction, write both as fractions and multiply both by their least common denominator, which turns them into whole numbers. Then divide both by their greatest common factor (GCF):
A : B = (A ÷ GCF) : (B ÷ GCF)
Multiplying or dividing both parts by the same number never changes a ratio, the same way it doesn’t change a fraction.
Find the missing number x in A : B = C : x. Write the proportion as fractions, A/B = C/x. In a proportion the cross products are equal, so A × x = B × C, and:
x = B × C ÷ A
Split a total T in the ratio A : B. There are A + B equal parts in all, so:
one part = T ÷ (A + B), the first share is A × one part, and the second is B × one part.
Worked example
Want this with your own numbers? See Show the work above.
Simplify 1.5 : 2.5. As fractions, 1.5 = 3/2 and 2.5 = 5/2. Multiplying both by 2 gives 3 : 5. 3 and 5 have no common factor except 1, so the simplest form is 3 : 5.
Find the missing number in 4 : 6 = 10 : x. Cross-multiply: 4 × x = 6 × 10 = 60. Divide by 4: x = 60 ÷ 4 = 15. Check: 4 : 6 and 10 : 15 both simplify to 2 : 3.
Split 100 in the ratio 4 : 6. There are 4 + 6 = 10 parts, so one part is 100 ÷ 10 = 10. The shares are 4 × 10 = 40 and 6 × 10 = 60, so the split is 40 : 60. Check: 40 + 60 = 100.
FAQ
Is a ratio the same as a fraction?
Not quite. A ratio of 2 : 3 compares the two parts with each other, while a fraction like 2/5 can compare a part with the whole. With 2 red and 3 blue marbles, the ratio of red to blue is 2 : 3, but red marbles are 2/5 of all of them, because there are 5 in total. You can still write a ratio as a fraction (2 : 3 as 2/3) when you solve a proportion.
Does the order of a ratio matter?
Yes. 2 : 3 and 3 : 2 are different ratios. The order follows the words: “the ratio of red to blue” puts red first. Keep the same order on both sides of a proportion, too.
How do I simplify a ratio with decimals?
Multiply both parts by 10, 100, or whatever power of 10 makes them whole numbers, then divide by their GCF. For 2.7 : 0.54, multiplying by 100 gives 270 : 54, and dividing by 54 gives 5 : 1. The calculator does the same thing with fractions, so it also handles parts like 1/3 that have no exact decimal.
Should I write 5 : 1 or just 5?
Keep the 1. A ratio keeps every part, so 5 : 1 (five times as much of the first) stays in that form, even though the fraction 5/1 would simplify to 5.
Can a ratio have three parts?
Yes, like 1 : 2 : 3, and the same ideas work. This calculator handles two parts. To split a total in a three-part ratio, add all the parts and divide the total by that sum to find one part: 60 in the ratio 1 : 2 : 3 is 6 parts of 10 each, so 10, 20, and 30.
Sources
- Writing a ratio of decimals or fractions as whole numbers in simplest form, and keeping a ratio like 5 : 1: OpenStax, Prealgebra 2e, section 5.6, “Ratios and Rate”
- Proportions and equal cross products: OpenStax, Prealgebra 2e, section 6.5, “Solve Proportions and their Applications”
- Reducing ratios, solving proportions, and prorating an amount in a ratio: J. Olivier, Business Math: A Step-by-Step Handbook, section 3.3, “Ratios, Proportions, and Prorating”
Cite this page
APA (7th edition)
Mathlark. (2026, October 4). Ratio calculator. https://mathlark.com/math/ratio-calculator/
MLA (9th edition)
"Ratio Calculator." Mathlark, 4 Oct. 2026, mathlark.com/math/ratio-calculator/.