Decimal to Fraction
Enter a decimal number and convert it to a fraction (integer, numerator, denominator). Results appear instantly in your browser.
2.75, 0.333, 3.125Decimal to Fraction Converter
This tool converts a decimal number into its fraction equivalent, expressed as an integer part, numerator, and denominator. It is useful when you need to express decimal values as exact fractions for math, engineering, or cooking measurements.
The conversion runs entirely in your browser. The tool finds the simplest fraction representation by calculating the greatest common divisor (GCD).
How to use
- Enter a decimal number in the input field (e.g.
2.75or0.333). - Click Convert to see the fraction result.
- The integer, numerator, and denominator are displayed separately.
- Use Copy to copy the fraction to your clipboard, or Clear to reset.
How it works
The tool separates the integer part from the decimal part, then converts the decimal part to a fraction. It multiplies the decimal by powers of 10 to eliminate the decimal point, then simplifies by dividing both numerator and denominator by their greatest common divisor (GCD).
Example
Decimal: 2.75 Fraction: 2 3/4 Decimal: 0.5 Fraction: 1/2 Decimal: 3.125 Fraction: 3 1/8