Actual widget output
Interactive text and number utility

Decimal to Fraction Approximation Calculator

Enter a decimal and a maximum denominator and press the button. This example runs the actual widget in your browser.

Approximate a decimal as a fraction

Result

Run the sample inputs to see the native output.