Convert any decimal number to a simplified fraction or mixed number instantly. See the step-by-step conversion process, visualize the fraction as a pie chart, and learn the underlying math.
Converting a decimal to a fraction is the process of expressing a decimal number as a ratio of two integers (a numerator and a denominator). This is a fundamental skill in mathematics, used extensively in everyday life—from cooking measurements and woodworking to financial calculations and scientific data analysis. A fraction represents a part of a whole, while a decimal is another way of writing the same value using base‑10 notation. The conversion bridges these two representations, allowing you to work with the form that is most convenient for your task.
Any finite decimal d can be written as:
d = d × 10n / 10n
where n is the number of decimal places.
The conversion algorithm is straightforward for finite decimals:
For repeating (recurring) decimals, the conversion uses a different method based on geometric series. For example, 0.333... = 1/3. While this calculator focuses on finite decimals, understanding recurring decimals is essential for complete number sense.
The GCD of two integers is the largest positive integer that divides both without a remainder. For fraction simplification, we divide both numerator and denominator by their GCD to obtain the reduced form. The Euclidean algorithm is the most efficient way to compute the GCD:
A baker needs to scale a recipe that calls for 0.375 cups of sugar. Converting 0.375 to a fraction gives 3/8 cup, which is easier to measure using standard measuring cups (¼ cup + ⅛ cup). If the baker wants to double the recipe, 3/8 × 2 = 3/4 cup—again easier with fractions than with decimals (0.75). This tool helps bakers, chefs, and home cooks make quick, accurate conversions.
A carpenter measures a board at 2.375 inches. Converting to a fraction gives 23/8 inches, which matches standard tape measure markings. Fractional measurements are the industry standard in carpentry, plumbing, and many trades. This calculator eliminates guesswork and reduces measurement errors.
An analyst calculates a profit margin of 0.625. Expressing this as 5/8 makes it easier to communicate as "5 out of 8 units of profit." Fractions are often used in financial ratios, interest calculations, and risk assessments to provide clearer insights.
| Decimal | Fraction (simplified) | Mixed Number | Common Usage |
|---|---|---|---|
| 0.5 | 1/2 | 1/2 | Half, 50% |
| 0.25 | 1/4 | 1/4 | Quarter, 25% |
| 0.75 | 3/4 | 3/4 | Three quarters, 75% |
| 0.125 | 1/8 | 1/8 | One eighth, 12.5% |
| 0.375 | 3/8 | 3/8 | Three eighths, 37.5% |
| 0.625 | 5/8 | 5/8 | Five eighths, 62.5% |
| 0.875 | 7/8 | 7/8 | Seven eighths, 87.5% |
| 1.5 | 3/2 | 1½ | One and a half |
| 2.25 | 9/4 | 2¼ | Two and a quarter |
| 0.333… | 1/3 | 1/3 | One third (repeating) |