Simplify a two-part ratio
Enter the First ratio value and Second ratio value, then select Calculate. The tool divides both integers by their greatest common divisor and shows the original ratio, the simplified ratio and the common factor. It uses exact integer arithmetic rather than a rounded decimal approximation.
Example: 12 to 18
Load the example to enter 12 and 18. Their greatest common divisor is 6, so dividing both by 6 gives 2:3. Reversing the inputs gives 3:2; the order of the two quantities is part of the meaning. If the quantities represent red and blue items, keep that order when using the result elsewhere.
Prepare consistent quantities
The inputs must be nonnegative integers of at most 12 digits each. Convert compatible units before simplifying: 1 meter and 50 centimeters should first become 100 centimeters and 50 centimeters. Entering 1 and 50 directly answers a different question. Decimals, fractions, exponent notation and thousands separators are rejected in this version.
One component may be zero. 0:5 simplifies to 0:1, and 5:0 simplifies to 1:0. Neither is a decimal quotient, so no division by the second component is attempted. 0:0 is rejected because there is no nonzero common factor that establishes a useful proportion.
Using the result
This tool simplifies two known values; it does not solve a missing proportion term or determine whether the original measurements are accurate. Copy results copies the labeled values. Editing an input clears the previous result, and computation remains in the browser.
Use Greatest Common Divisor Calculator for a list of integers, or Fraction Calculator to add, subtract, multiply or divide exact fractions.





