DoKitly
Home / Calculators / Ratio Calculator

Ratio Calculator

Simplify ratios and scale them to a target value.

Calculator Tool Guide

Scaling a two-part mixture

✦ Ratio Calculator Online · Practical guide

Ratios compare quantities in a particular order.

Enter the values in the intended orderKnown values
Reduce or compare the ratioRun calculation
Confirm compatible units and interpretationCheck answer
Ratio 3D illustration

Enter the values in the intended order → Confirm compatible units and interpretation

Enter the values in the intended order

Scale a 2:3 mix to 10 total parts; preserve the original proportion.

Reduce or compare the ratio

Scale a recipe or simplify a comparison.

Confirm compatible units and interpretation

Keep both quantities in compatible units.

Scaling measurements and interpreting mixture shares

01 Enter the values in the intended order

Scale a 2:3 mix to 10 total parts; preserve the original proportion.

02 Confirm compatible units and interpretation

A 2:3 mixture contains five total parts. For a 25-litre batch, the first ingredient is 10 litres and the second 15 litres if each part is equal.

Use the real tool above to verify the result. The example illustrates the workflow, not a guaranteed outcome.

Worked case: enter the values in the intended order

A 2:3 mixture contains five total parts. For a 25-litre batch, the first ingredient is 10 litres and the second 15 litres if each part is equal.

Reversing 2:3 to 3:2 changes the meaning. Convert metres and centimetres to a shared unit before comparing lengths.

DO MORE WITH RATIO CALCULATOR

Ratio Calculator: choosing a reliable workflow

THE QUICK PATH

Using Ratio Calculator: prepare, run and verify

📄 Enter the values in the intended order
⚙️ Reduce or compare the ratio
✓ Confirm compatible units and interpretation
A PRACTICAL GUIDE, IN PLAIN ENGLISH

✓ Confirm compatible units and interpretation

Scale a 2:3 mix to 10 total parts; preserve the original proportion.

Scaling measurements and interpreting mixture shares — practical checks for Ratio Calculator

A 2:3 mixture contains five total parts. For a 25-litre batch, the first ingredient is 10 litres and the second 15 litres if each part is equal.

Common mistakes and quick troubleshooting

Open the calculator and you will see three numerical fields: A , B , and Scale A to . The calculation button returns two connected answers. The first is the simplified ratio, with A written before B. The second answers a different question: if the original A quantity becomes the target entered in Scale A to, what should B become to preserve the same proportion? The calculator does not automatically divide a fixed total between ingredients, and it does not solve an unknown from a percentage. Those are related mathematics problems, but they are not the exact output produced by this interface.

For the default entries A = 16, B = 9, and Scale A to = 1920, the ratio remains 16:9 , because those two numbers have no common factor greater than 1. With A scaled to 1920, the corresponding B is 1080 , calculated as 1920 × 9 ÷ 16. This makes the calculator useful when matching an image's width and height, enlarging a blueprint while retaining proportions, or rescaling two paired measurements.

A ratio is an ordered comparison. Writing A:B tells us how much A there is for each proportional amount of B. To simplify whole-number ratios, find the greatest common divisor of A and B, then divide each number by that divisor. For example, 24:36 simplifies to 2:3 because 12 divides both values. The mathematical relationship is unchanged; the pair has simply been expressed with smaller equivalent whole numbers. A simplified ratio is not the same as a fraction describing one ingredient's share of a combined total.

Scaling follows the equation new B = target A × original B ÷ original A . Start with 24:36 and set the new A to 100. Because the original B is 1.5 times A, the new B is 150. The ratio can be checked independently: 100:150 simplifies to 2:3. To go in the opposite direction, exchange what you label A and B before entering the quantities. This calculator specifically anchors the target to A; the field does not target B or the sum of A and B.

Imagine you are preparing a banner whose current width and height are 1600 and 900 pixels. Enter A = 1600, B = 900, and Scale A to = 1280. After calculating, the simplified aspect ratio is 16:9 and the associated height is 720 pixels. The result tells you the dimensions that preserve the original shape. It does not resize an image file, export a new image, or check whether an image editor has cropped the subject. Use DoKitly's Image Resize tool separately if you need to modify the actual picture.

If you instead force the new banner into 1280 × 800 pixels, you create an 8:5 shape rather than 16:9. Depending on how an editor handles it, the image might stretch or require cropping. The ratio calculator is most helpful before exporting assets, because it gives a numerical target against which you can check the final dimensions.

Suppose a cleaning solution uses 4 measures of water for every 1 measure of concentrate. Enter A = 4, B = 1. To use 12 measures of water, set Scale A to 12. The corresponding concentrate amount is 3 measures. If your quantities are litres instead of measures, the answer is 12 litres of water and 3 litres of concentrate, provided both original values referred to litres or the same kind of measure. This is an arithmetic illustration, not advice about safe chemical mixing; always follow the manufacturer's instructions for real products.

A frequent mistake is to confuse scaling one component with setting the combined batch size. The above result totals 15 measures, not 12. If you instead need a batch of exactly 12 measures in a 4:1 ratio, there are five total parts: one part is 12 ÷ 5 = 2.4 measures, so water is 9.6 and concentrate is 2.4. That total-size calculation is explained here to prevent misinterpretation, but it must be performed separately from the calculator's Scale A field.

Put the quantity that you intend to set to a new target in A. Put its corresponding partner in B. Enter a nonzero value for both, then write the desired new A value in Scale A to and press Calculate. The output shows the reduced relationship and the corresponding B. Record both the order and units when sharing a ratio: 3 red beads to 2 blue beads is not the same statement as 3 blue beads to 2 red beads. For physical measurements, convert to the same unit first. Comparing 2 metres with 50 centimetres as though they were 2:50 produces an incorrect scale; in centimetres it should be 200:50, or 4:1.

The calculation relies on numeric values and on a greatest-common-divisor routine. For reliable simplified whole-number results, start with integer quantities. Decimal or heavily rounded measurements can create misleading-looking simplification in calculators that use integer-oriented reduction. Where the original data is approximate, keep that uncertainty in mind instead of treating every digit of a scaled output as physically precise. Do not enter zero for A or B: this interface explicitly reports that they must be nonzero, and dividing by zero cannot establish the same scaling relation.

There are two useful independent checks. First, divide A by the simplified A component, and B by the simplified B component. For exact whole-number ratios these factors should agree. Second, calculate target A × B ÷ A with a separate calculator; the answer should match the displayed scaled B. These checks are particularly valuable when a ratio is copied from a diagram with reversed labels. A mathematically correct number can still be wrong for the intended real-world labels.

The calculator produces numerical text; it does not assess whether a recipe is safe, whether a photograph is sharp at the proposed pixel dimensions, or whether a building plan meets drafting tolerances. It also does not download or edit a file. For an actual image export use Image Resize, and for a percentage of a total use the Percentage Calculator. These are different tasks that should not be mixed simply because the mathematics is related.

The scaled result seems too large. Verify that Scale A to is the new A quantity and not the new overall total. A 4:1 ratio with A scaled to 100 gives B = 25 and a total of 125; the calculator has not made an arithmetic mistake. The simplified ratio seems backward. Recheck the order of A and B, especially if you copied dimensions as height × width from a different application. The calculation is rejected. Make sure A and B are both nonzero numeric values. The answer contains an unexpected decimal. Scaling can legitimately produce a fraction of a unit; choose practical rounding that suits the subject, and be aware that rounding changes exact proportion slightly.

The field in this interface targets A. Swap the A and B labels in your inputs if you want the desired B value to act as the target, then interpret the returned partner using the swapped order.

No. It sets the new value of the first component. Add the new A and new B yourself if you need the combined quantity.

The greatest common divisor is 12. Dividing both quantities by 12 keeps their relative size unchanged, so 24:36 and 2:3 are equivalent ratios.

Yes. Set A = 16, B = 9, and Scale A to the target width. At 1920 pixels, the corresponding height is 1080 pixels, before any application-specific cropping.

The calculator uses the numbers you enter, not their unit labels. Convert values into a shared unit so that numbers represent comparable amounts.

No. It shows the simplified ratio and the corresponding scaled B value. Use a file-editing tool for images or documents after checking the arithmetic here.

Interpreting ratios without mixing incompatible units

A scale drawing with 5 units on paper corresponding to 200 real units has ratio 1:40. If the drawing measurement increases to 8 units, the matching real measurement is 320 units, assuming the same scale. Ratios are ordered pairs: 1:40 and 40:1 communicate opposite comparisons. When moving between measurements, check that both quantities use compatible units before entering them. A ratio of 2:3 does not by itself tell you the sum; for a mixture totalling 25 litres, the first part is 10 litres and the second is 15 litres. That calculation is different from scaling based on a target A.

COMMON QUESTIONS, SIMPLE ANSWERS

Common questions about Ratio Calculator

Can I scale B to a target value instead?

The field in this interface targets A. Swap the A and B labels in your inputs if you want the desired B value to act as the target, then interpret the returned partner using the swapped order.

Does the Scale A field specify the combined total?

No. It sets the new value of the first component. Add the new A and new B yourself if you need the combined quantity.

Why does 24:36 become 2:3?

The greatest common divisor is 12. Dividing both quantities by 12 keeps their relative size unchanged, so 24:36 and 2:3 are equivalent ratios.

Can I calculate a 16:9 video height from its width?

Yes. Set A = 16, B = 9, and Scale A to the target width. At 1920 pixels, the corresponding height is 1080 pixels, before any application-specific cropping.