How it works
Both integer values are divided by their greatest common divisor. An optional new first value scales the second value in the same proportion.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
3-
?a=First valueNumber · Required · Default: 12
-
?b=Second valueNumber · Required · Default: 18
-
?scaledA=New first valueNumber · Optional
Outputs
5-
simplifiedRatioSimplified ratioText · Primary output
-
greatestCommonDivisorGreatest common divisorWhole number
-
decimalFirst ÷ secondNumber
-
percentFirst as percent of secondPercentage
-
scaledBMatching second valueNumber