---
title: "Decimal to Fraction Calculator With Steps | CanDoYa"
description: "Convert decimals to fractions in lowest terms, including negative and repeating decimals. See exact steps and mixed numbers instantly."
url: https://candoya.com/tools/decimal-to-fraction/
locale: en
type: browser-tool
---

# Decimal to Fraction Calculator

Category: Calculators

## What is a decimal to fraction calculator?

A decimal to fraction calculator rewrites a terminating or repeating decimal as an exact ratio of whole numbers. Enter 0.875 to get 7/8, or mark recurring digits with parentheses, such as 0.1(6), to get 1/6. The result updates live and includes the reduction step.

For a terminating decimal, the calculator puts its digits over 10, 100, 1000, or the matching power of ten, then reduces by the greatest common divisor. Repeating decimals use exact algebra instead of rounding. All arithmetic stays in your browser and uses integers, so your input is never uploaded.

## How to use it

1. **Enter the decimal** - Type a finite value such as -1.25, or use parentheses to identify repeating digits, such as 0.1(6).
2. **Read the fraction** - The calculator displays the exact fraction in lowest terms and a mixed number when the value is improper.
3. **Check the working** - Review the unreduced fraction, greatest common divisor, and conversion method beneath the result.
4. **Copy the answer** - Copy the original decimal and simplified fraction together for a worksheet, recipe, or calculation.

## Who it's for

- **Students and teachers** checking decimal conversion exercises with the reduction shown.
- **Woodworkers and makers** turning measurements such as 0.625 into the exact fraction 5/8.
- **Cooks and bakers** converting decimal quantities into easier-to-read fractional amounts.
- **Engineers and spreadsheet users** recovering exact ratios from terminating or known repeating values.

## Expert note

Parentheses remove the ambiguity in typed recurring decimals: 0.16 is exactly 4/25, while 0.1(6) means 0.1666... and is exactly 1/6; a string of rounded 6s cannot prove that repetition on its own.

## Frequently asked questions

### How do you convert a decimal to a fraction?

Count the digits after the decimal point, remove the point, and put that integer over the matching power of ten. For example, 0.375 becomes 375/1000. Divide both numbers by their greatest common divisor, 125, to get 3/8 in lowest terms.

### How do I convert a repeating decimal to a fraction?

Mark the repeating block with parentheses, such as 0.(3) or 0.1(6). The calculator uses powers of ten to align two copies of the recurring value, subtracts away the infinite tail, then reduces the resulting ratio using exact integer arithmetic.

### Can it convert negative decimals and mixed numbers?

Yes. A negative decimal keeps its sign, so -1.25 becomes -5/4 and is also shown as -1 1/4. Positive values greater than one are handled the same way, with both improper-fraction and mixed-number forms when they differ.

### Is this decimal to fraction calculator accurate?

Yes for valid terminating decimals and repeating blocks you identify explicitly. The calculation parses the typed digits and uses BigInt integer arithmetic, not binary floating point. It does not guess whether a rounded decimal such as 0.333333 is meant to repeat forever.

### What are the calculator limits?

The input accepts up to 120 digits, which is far beyond ordinary measurements and schoolwork while keeping live calculations responsive. It accepts digits, an optional sign, one decimal point, and an optional repeating block in parentheses. Expressions and irrational constants are not supported.

### Is the decimal to fraction calculator free and private?

Yes. It is free, requires no sign-up, and performs every conversion locally in your browser. Your decimal is not sent to a calculation server. You can clear it at any time or replace it with one of the built-in examples.

## Related tools

- [Fraction to Decimal Converter](https://candoya.com/tools/fraction-to-decimal/)
- [Fraction Calculator](https://candoya.com/tools/fraction-calculator/)
- [Percentage Calculator](https://candoya.com/tools/percentage-calculator/)
- [Big Number Calculator](https://candoya.com/tools/big-number-calculator/)
- [Mean, Median & Mode Calculator](https://candoya.com/tools/mean-average-calculator/)

---

*Markdown edition of <https://candoya.com/tools/decimal-to-fraction/>, published for AI agents and other automated readers. Index of key pages: <https://candoya.com/llms.txt>.*
