Ratio Calculator
Calculate, simplify, and compare two- or three-term ratios with clear step-by-step explanations.
Try a ratio example to see the steps
How to Use the Ratio Calculator
Add Your Problem
Choose Calculator, Math Input, or Canvas. Use the Calculator keypad for basic entry, Math Input to type a ratio, quantities, or a mathematical expression using supported notation, or Canvas to draw, handwrite, or upload a photo of the problem. Enter the ratio itself or the quantities you want to compare.
Choose Your Output
Step-by-step answers are selected by default. From the Tools menu, you can also choose Explain Like I’m 10, Create Practice Test, Create Study Guide, Create Flashcards, or Find My Mistake. The last option lets you upload your own working for feedback.
Choose a Language
The language dropdown is labelled “Default.” Select an available language when that option is supported for your result.
Get the Result
Select Solve to submit the problem. The calculator then returns the selected explanation or output, such as solution steps for the ratio problem.
How to Calculate a Ratio
The Ratio Calculator compares two or more quantities in a specific order. First identify what each number represents, make sure the units are compatible, and then choose whether you need to write, simplify, or scale the ratio.
Write the Quantities in a Common Form
Start by naming the quantities and keeping their order clear. If you compare red counters with blue counters, the first number must represent red counters and the second must represent blue counters.
The forms \(a:b\), “\(a\) to \(b\),” and \(\frac{a}{b}\) can express the same relationship when the order stays unchanged. For example:
\[ 12\text{ ml}:18\text{ ml}=12:18 \]
Both quantities use milliliters, so the unit can be left out after the comparison is clear. If the units describe the same type of quantity but differ, convert them using a valid conversion factor first. Ounces and grams, for example, shouldn’t be treated as interchangeable.
The ratios \(2:1\), \(2:3\), and \(1:2\) describe different relationships. In particular, reversing \(2:1\) to \(1:2\) changes the order and meaning. You can write a ratio as a fraction when that form makes the comparison easier to study.
Simplify a Ratio
Simplify a ratio after writing the quantities in the correct order and compatible units. Divide both terms by the same common factor:
\[ a:b=\frac{a}{g}:\frac{b}{g} \]
Here, \(g\) is a common factor of both terms. The greatest common factor produces the ratio in lowest terms.
For example:
\[ 24:36 \]
The GCF of 24 and 36 is 12, so:
\[ 24:36=\frac{24}{12}:\frac{36}{12}=2:3 \]
Both terms must be divided by the same number. A GCF Calculator can help you find that shared factor before simplifying.
Simplifying changes the size of the numbers, not the relationship between them. The ratios \(24:36\) and \(2:3\) describe the same comparison.
Find Equivalent Ratios and Convert Forms
Equivalent ratios have the same relationship even though their numbers differ. Multiply or divide every term by the same nonzero scale factor:
\[ a:b=(ak):(bk) \]
For example:
\[ 2:3=8:12 \]
Both terms were multiplied by 4. Multiplying only one term would change the relationship.
For two ratios, cross-products can test equivalence when the denominators are nonzero:
\[ \frac{2}{3}=\frac{8}{12} \]
because:
\[ 2\times12=3\times8 \]
Both cross-products equal 24.
A ratio converter may rewrite the same comparison as a colon ratio, fraction, decimal, or percentage. These forms need careful interpretation. For \(2:3\), the fraction \(\frac{2}{3}\) compares the first quantity with the second. It does not mean that the first quantity is 2 out of 3 total parts.
If \(2:3\) represents two parts and three parts, the total is \(2+3=5\). The first part is therefore:
\[ \frac{2}{2+3}\times100\%=40\% \]
You can convert a part-to-whole ratio into a percentage after identifying the total.
For a three-part ratio \(a:b:c\), the same scale factor must apply to all three terms. For example:
\[ 2:3:4=6:9:12 \]
Each term was multiplied by 3. This same rule applies when simplifying a three-part ratio: divide every term by the same common factor.
A ratio written as a fraction also has a restriction: its denominator cannot equal zero.
Understanding Ratios
A ratio is a comparison, not simply a pair of numbers. In \(2:3\), the first quantity is compared with the second quantity, so reversing the order creates \(3:2\), a different relationship.
Simplifying and finding an equivalent ratio are related but different tasks. Simplifying uses a common factor to make the terms smaller, while scaling creates another ratio with the same relationship.
Ratios can describe ingredients, distances, image dimensions, or measurements. Unit labels such as ml, grams, ounces, and pixels should stay attached until you know the comparison is valid. If different units describe the same physical quantity, use an appropriate conversion factor before forming the ratio.
Worked Example
Use the ratio:
\[ 24:36 \]
Write the ratio in the given order.
\[ 24:36 \]
Keep 24 first and 36 second because changing their positions changes the comparison.
Find the greatest common factor.
\[ \operatorname{GCF}(24,36)=12 \]
The greatest common factor is the largest whole number that divides both terms.
Divide both terms by 12.
\[ 24:36=\frac{24}{12}:\frac{36}{12}=2:3 \]
Dividing both terms by the same factor preserves the relationship.
Show an equivalent ratio.
\[ 2:3=8:12 \]
Multiplying both terms of \(2:3\) by 4 creates an equivalent ratio.
Verify the simplified relationship.
\[ \frac{24}{36}=\frac{2}{3} \]
The fraction forms match, so the simplification is consistent.
The simplified ratio is:
\[ \boxed{2:3} \]
Common Mistakes
Reversing the order. A student may change \(2:3\) into \(3:2\) because the numbers look interchangeable. This happens when the quantities aren’t labelled first. Keep the original order: the first term must describe the first quantity.
Dividing only one term. A student may divide 24 by 12 but leave 36 unchanged. In a three-part ratio, a student may divide only two of the three terms. This happens when simplifying is treated like reducing individual numbers. Divide every term by the same common factor.
Comparing incompatible units. A student may compare ounces and grams as though they were already the same unit. This happens when unit labels are ignored. Use a valid conversion factor before forming the ratio.
Confusing part-to-part with part-to-whole. A student may call \(2:3\) “40%” without explaining the total. The ratio compares two parts, while 40% comes from \(\frac{2}{2+3}\times100\%\). Identify whether the question asks for a comparison with the second part or with the whole.
Using different scale factors. A student may change \(2:3\) into \(4:9\), or change \(2:3:4\) into \(4:9:8\), by multiplying the terms by different numbers. This changes the relationship. Equivalent ratios require one identical nonzero scale factor for every term.
Related Calculators
Questions Students Ask About Ratios
What is a ratio?
+A ratio compares two or more quantities by division. It can be written with a colon, such as \(2:3\), with the word “to,” such as “2 to 3,” or as a fraction, \(\frac{2}{3}\), when the order remains the same.
How do I calculate a ratio from two quantities?
+Identify what each quantity represents and place them in the requested order. Make their units compatible, write them with a colon, and simplify by dividing both terms by their greatest common factor when possible.
How do I simplify a ratio?
+Find a common factor of every term, preferably the greatest common factor. Divide each term by that same factor, then write the resulting terms in the original order.
What are equivalent ratios?
+Equivalent ratios show the same relationship using different numbers. You create one by multiplying or dividing every term by the same nonzero number, such as \(2:3=8:12\).
Does the order of a ratio matter?
+Yes. The ratio \(2:3\) means the first quantity is compared with the second quantity. The ratio \(3:2\) reverses that comparison and usually has a different meaning.
Can I use ratios with ml, grams, ounces, or pixels?
+You can compare measurements when the units are appropriate for the relationship you're describing. Two milliliter measurements can be compared directly, but ounces and grams require a valid conversion before comparison. Pixels may describe dimensions, but they should not be treated as a physical measurement without a clear context. Do not assume the calculator converts between units unless that feature has been tested.
What does a ratio converter do?
+A ratio converter rewrites a relationship in another mathematical form, such as \(a:b\), \(\frac{a}{b}\), a decimal, or a percentage. The meaning depends on the form: \(\frac{2}{3}\) is the first-to-second comparison, while 40% is the first part’s share of the total in a \(2:3\) situation.
Can a ratio contain zero?
+A ratio such as \(0:5\) can describe zero of the first quantity compared with five of the second. However, a fraction denominator cannot be zero, and \(0:0\) does not define a meaningful comparison because neither quantity establishes a relationship.
Can I calculate a ratio with three numbers?
+Yes, a three-part ratio compares three quantities, such as \(2:3:4\). To create an equivalent ratio, multiply or divide all three terms by the same nonzero number. For example, \(2:3:4=6:9:12\) because every term was multiplied by 3.