Ratio Calculator

Simplify two-part or multi-part ratios with exact integer, decimal, and fraction input. Compare part-to-part and part-to-whole shares, generate equivalent ratios, distribute a total, or scale every part from one known amount. Detailed normalization, GCF, percentage, and verification results keep the relationship auditable.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Enter two through ten ratio parts as integers, decimals, or fractions. Simplify the exact relationship, distribute a total by its shares, or scale every part from one target amount.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Task

Choose what the ratio should do

Simplify and analyze preserves only the relationship. Distribute splits one additive total by the ratio shares. Scale makes one selected ratio position equal a known amount and applies the same multiplier to every position.
Ratio calculation mode
Ordered parts

Enter two to ten quantities

Order carries meaning. Convert like measurements to the same unit first, then keep the same labels in the same positions when reading, distributing, or scaling the result.
Enter 2 to 10 non-negative integers, decimals, or fractions separated by colons. Examples: 12:18, 1.5:2.25:3, or 1/2:3/4.
12:18:30or1/2:0.75:1.25Exact fractions and terminating decimals are supported
Relationship first, labels alwaysThe calculator preserves order and exact input; it cannot infer what each position represents or whether quantities share compatible units.
A ratio is meaningful only with its labels and units. Converting unlike measurements into the same unit may be required, while comparisons such as miles per hour are rates and should keep their units.

What Is a Ratio Calculator

A ratio calculator compares ordered quantities and rewrites the relationship in an equivalent form that is easier to interpret. The ratio 12:18:30 and the ratio 2:3:5 describe the same relative parts because every original part is six times its simplified counterpart. Changing the order changes the meaning, so 2:3 is not interchangeable with 3:2.

This calculator accepts two through ten parts. It converts entered integers, terminating decimals, and fractions into one exact integer ratio, removes the greatest common factor shared by every part, and reports part shares, equivalent forms, allocation results, or a common scaling plan.

How to Use the Ratio Calculator

Enter ratio parts in their intended order and separate them with colons. Examples include 12:18, 4:6:10, 1.5:2.25, and 1/2:3/4:5/4. Use a period for decimals and write each fraction without spaces around its slash. Convert measurements of the same kind to one unit before entering them.

Choose Simplify and analyze for a reduced ratio and shares. Choose Distribute a total when the parts form one additive whole. Choose Scale to a selected part when one simplified part must equal a known amount. Review the cleared integer ratio and GCF before using rounded allocation or scaled displays.

  1. Name the quantities and preserve their order.
  2. Convert like measurements to the same unit.
  3. Enter two through ten non-negative parts separated by colons.
  4. Choose simplification, total distribution, or selected-part scaling.
  5. Inspect the common denominator and GCF reduction.
  6. Check shares, equivalent ratios, and the mode-specific table.

Ratio Order, Meaning, and Units

A ratio has labels even when the labels are not typed into the calculator. If a class has 12 students in one group and 18 in another, 12:18 means first group to second group. Reversing it answers a different question. A three-part recipe ratio such as flour:sugar:butter must keep that same sequence throughout scaling and allocation.

Like measurements must use a common unit before simplification. A comparison of 1 foot to 8 inches is not 1:8 because the numbers use different units. Convert 1 foot to 12 inches first, giving 12:8, which simplifies to 3:2. A comparison with unlike units is usually a rate, such as miles per hour, rather than a dimensionless same-unit ratio.

How order and units affect a ratio
Written comparisonCorrect setupInterpretationCommon mistake
12 red to 18 blue12:18 = 2:3Red for every blue groupReading it as blue:red
1 foot to 8 inches12:8 = 3:2Like length unitsSimplifying 1:8 directly
180 miles in 3 hours180 miles / 3 hoursRate of 60 miles per hourRemoving unlike units
2 flour, 3 sugar, 5 butter2:3:5Ordered recipe partsSorting parts by size

Simplify Integer Ratios With a Shared GCF

For whole-number parts, find the greatest common factor of every part and divide all parts by that one factor. The GCF of 12, 18, and 30 is 6, so 12:18:30 becomes 2:3:5. Reducing only one or two parts changes the relationship rather than simplifying it.

The simplified ratio is in lowest terms when the GCF of all resulting parts is 1. A zero part may remain zero while the nonzero parts reduce normally: 0:4:6 becomes 0:2:3. An all-zero ratio has no useful relative scale and is rejected.

Formula guide
  • For integer parts A1...An: simplified ratio = (A1/GCF):(A2/GCF):...:(An/GCF)

Clear Decimal and Fraction Parts Exactly

Decimal or fraction parts should not be rounded into convenient whole numbers. The calculator parses each terminating decimal or written fraction as an exact rational value, finds the least common multiple of all denominators, and multiplies every part by the corresponding denominator-clearing factor.

For 1/2:0.75:1.25, the exact forms are 1/2:3/4:5/4. Their common denominator is 4, so clearing denominators gives 2:3:5. Because those integer parts already share only 1, no further GCF reduction is needed.

  • Use terminating decimal notation rather than a rounded approximation of an unknown value.
  • Write fractions as numerator/denominator with a nonzero denominator.
  • Clear every denominator with one common LCM.
  • Apply a final shared GCF reduction to all cleared parts.
Formula guide
  • For rational parts ni/di: common denominator L = LCM(d1,d2,...,dn); normalized integer part Ai = ni x (L/di)

Read Part-to-Part and Part-to-Whole Results

A part-to-part comparison divides one named part by another. In 2:3:5, the first-to-second ratio is 2:3, and the first amount per one second amount is 2/3. A part-to-whole comparison divides a part by the sum of all parts. The total is 10, so the three shares are 2/10, 3/10, and 5/10.

Percentage shares multiply each part-to-whole fraction by 100. The example therefore represents 20%, 30%, and 50%. These percentages describe shares of the combined ratio total; they are not the same as saying the first part is 20% of the second part.

Formula guide
  • Part i share = Ai / (A1 + A2 + ... + An)
  • Part i percentage = 100 x Ai / total ratio parts

Build Equivalent Ratios With One Multiplier

Equivalent ratios preserve a relationship by multiplying every part by the same positive factor. From 2:3:5, multiplying by 2 gives 4:6:10 and multiplying by 7.5 gives 15:22.5:37.5. Applying different multipliers to different parts does not create an equivalent ratio.

For two-part ratios, equality can also be checked by cross products. The ratios a:b and c:d are equivalent when a x d equals b x c, provided the denominator positions are nonzero. Multi-part comparisons require one common multiplier across every corresponding part.

Formula guide
  • Equivalent ratio multiplier k: A1:A2:...:An = kA1:kA2:...:kAn for k > 0
  • Equivalent-ratio check for two parts: A1 x B2 = A2 x B1

Distribute a Total by Ratio

Distribution applies when the ratio parts are additive shares of one known total. Add the simplified parts, divide the total by that sum to find the value of one ratio unit, then multiply by each part. For 2:3:5 and a total of 120, one ratio unit is 12, producing allocations of 24, 36, and 60.

The displayed allocations may be rounded when the total does not divide cleanly. If the real task requires whole items or fixed currency increments, choose and document a rounding rule, then reconcile any remainder. Do not use allocation mode when the compared quantities do not combine into the entered total.

Formula guide
  • Allocation for part i = total amount x Ai / total ratio parts
Distribution example for a 2:3:5 ratio and total of 120
PartShareCalculationAllocation
First2/10 = 20%120 x 2/1024
Second3/10 = 30%120 x 3/1036
Third5/10 = 50%120 x 5/1060
Check100%24 + 36 + 60120

Scale a Ratio From One Selected Part

Scaling starts with one known corresponding amount. Divide the target amount by its simplified ratio part to find the common scale factor, then multiply every simplified part by that factor. If the second part of 2:3:5 must be 15, the scale factor is 15/3=5 and the scaled ratio is 10:15:25.

A zero ratio part cannot be scaled to a positive target because no finite multiplier changes zero into a positive number. Select a nonzero part and confirm that the known amount belongs to the correct position before applying the result.

Formula guide
  • Scale factor from selected part j = target amount / Aj
  • Scaled part i = scale factor x Ai

Ratio Calculator Worked Examples

The examples below separate simplification from interpretation. The same reduced ratio can support a share calculation, a scaled plan, or an allocation only when the labels and units justify that operation.

Worked ratio examples
Input and taskExact normalizationResultMeaning or check
12:18:30, simplifyGCF = 62:3:5Lowest terms
1/2:0.75:1.25, simplifyClear denominator 42:3:5Exact rational inputs
2:3:5, distribute 12010 total parts24:36:60Allocations sum to 120
2:3:5, set part 2 to 15Scale factor = 510:15:25Every part multiplied by 5
0:4:6, simplifyGCF of nonzero scale = 20:2:3Zero position is preserved
1 foot:8 inches12 inches:8 inches3:2Units converted first

Ratio Calculator Features

The input remains compact while the result exposes the arithmetic needed to reproduce it. Exact normalization is kept separate from final decimal displays so a rounded share does not alter the simplified ratio.

  • Two through ten ordered ratio parts.
  • Non-negative integer, terminating decimal, and fraction input.
  • Exact rational parsing with BigInt denominator clearing.
  • Common-denominator LCM and shared GCF evidence.
  • Part-to-whole percentages and units per 100.
  • Two-part unit-rate and fraction views when defined.
  • Equivalent whole-number ratio examples.
  • Total distribution with an allocation-sum check.
  • Selected-part scaling with one common multiplier.
  • Boundary handling for zero parts and invalid denominators.

Benefits of Exact Ratio Analysis

Exact ratio analysis keeps the relationship visible while showing how each transformation was obtained. This is useful for checking classwork, documenting a mixture or recipe, planning proportional quantities, and separating a ratio error from a later rounding decision.

The shared denominator, shared GCF, total parts, and mode-specific checks provide independent checkpoints. A user can verify the reduced relationship before trusting an allocation, percentage, or scaled amount derived from it.

Common Ratio Calculator Use Cases

Use a ratio only when ordered relative quantities answer the real question. Keep labels beside the result and confirm whether the task asks for simplification, a unit rate, a percentage share, a total allocation, or a proportional scale.

  • Simplify recipe, paint, concrete, or mixture proportions.
  • Compare class groups, survey counts, or inventory categories.
  • Allocate a budget, batch, team, or supply total by stated shares.
  • Scale map, drawing, model, or design dimensions from one known part.
  • Convert fractional or decimal ratio notation to whole-number parts.
  • Find part-to-whole percentages without confusing them with part-to-part rates.
  • Check whether corresponding two-part or multi-part ratios are proportional.

Ratio Accuracy, Scope, and Trust Notes

The simplification engine uses exact rational parsing and integer arithmetic for entered terminating decimals and fractions. The simplified ratio, cleared denominator, and GCF are exact within the published input limits. Percentage, distribution, and scaled amount displays may be rounded only after their ratio shares are calculated.

The calculator does not infer measurement uncertainty, convert physical units automatically, decide whether categories form one additive total, or choose a real-world rounding policy. It also does not prove that two unlabeled quantities should be compared. Those decisions belong to the source problem.

  • Preserve part order and labels.
  • Convert like measurements to one unit before entry.
  • Treat shortened measured decimals as limited-precision inputs.
  • Use distribution only for additive shares of one total.
  • Reconcile rounded allocations when indivisible units are required.
  • Verify important two-part equivalence with cross products.

Open Ratio and Proportional-Reasoning References

FAQ

How do I simplify a ratio?

Convert like measurements to the same unit, clear any fraction or decimal denominators, find the GCF shared by every integer part, and divide all parts by it. For 12:18:30, dividing by 6 gives 2:3:5.

Can a ratio calculator simplify three or more numbers?

Yes. Enter two through ten ordered parts separated by colons. The calculator clears all rational denominators and removes one GCF shared across the complete list rather than reducing pairs independently.

How do I simplify a ratio with decimals?

Treat each terminating decimal exactly, create a common power-of-ten denominator, clear that denominator across every part, and reduce the resulting integers. For 1.5:2.25, clearing hundredths gives 150:225, which reduces to 2:3.

How do I simplify a ratio with fractions?

Find the LCM of the fraction denominators and multiply every ratio part by it. Then divide the resulting whole-number parts by their shared GCF. The calculator performs both stages exactly.

What is the difference between a ratio and a rate?

A same-unit ratio compares quantities of the same kind after unit conversion. A rate compares quantities with different units, such as miles per hour. A unit rate rewrites the denominator quantity as one unit.

What is the difference between part-to-part and part-to-whole?

Part-to-part compares one category directly with another. Part-to-whole compares one category with the sum of all categories. In 2:3:5, first-to-second is 2:3, while the first share of the whole is 2/10 or 20%.

How do I divide a total according to a ratio?

Add the simplified parts, divide the total by that sum to find one ratio unit, and multiply by each part. For 2:3:5 and 120, one unit is 12, so the allocations are 24, 36, and 60.

How do I scale a ratio when one part is known?

Divide the known target amount by its corresponding simplified part to obtain the common scale factor. Multiply every simplified part by that same factor. If part 2 of 2:3:5 is 15, the result is 10:15:25.

Can a ratio contain zero?

A ratio may contain a zero part when that category truly has no quantity. The zero position remains zero while the nonzero scale reduces, so 0:4:6 becomes 0:2:3. An all-zero ratio is not meaningful and is rejected.

Does the order of a ratio matter?

Yes. A ratio names an ordered comparison, so 2:3 and 3:2 answer opposite questions. Keep the same labels and order through simplification, scaling, percentage conversion, and any comparison with another ratio.