---
slug: decimal-to-fraction-calculator
title: "Decimal to Fraction Calculator"
category: math
updated: 2026-11-17
canonical: https://calcseed.com/c/math/decimal-to-fraction-calculator/
html: /c/math/decimal-to-fraction-calculator/
---

# Decimal to Fraction Calculator

Convert a decimal into a simplified fraction using continued-fraction approximation. Free and instant.

## Quick answer

**Quick answer:** with the default inputs (0.38), the numerator is **3**. At these inputs: denominator = **8**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Decimal | 0.375 |  |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Numerator | 3 |  |
| Denominator | 8 |  |

## Formula

```text
0.375 = 3 ÷ 8    (after reducing 375/1000)
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Decimal | number |  | 0.375 |

## Outputs

| Result | Format |
| --- | --- |
| Numerator | primary |
| Numerator | number |
| Denominator | number |

## How it works

### What this calculator does

Enter a decimal such as 0.375 and the calculator returns the fraction closest to it in lowest terms: a numerator of 3 and a denominator of 8. It accepts negative inputs, so −0.375 returns −3/8, and it searches every denominator from 1 to 10,000 for the closest match before reducing it by the greatest common divisor.

### How the conversion works

A terminating decimal is a fraction in disguise. Each digit after the decimal point carries place value in tenths, hundredths, thousandths and so on, which means the digits always sit over a power of ten. Two decimal places put the digits over 100, three places put them over 1,000. Converting is therefore a two-step job: write the raw fraction over the matching power of ten, then cancel every factor the top and bottom share.

The cancelling step is what turns a bulky fraction into a usable one. For 0.375 the raw fraction is 375/1,000. The greatest common divisor of 375 and 1,000 is 125, and 375 ÷ 125 = 3 while 1,000 ÷ 125 = 8, so the reduced answer is 3/8. Without the reduction you would report 375/1,000, which is correct but awkward on a tape measure, in a recipe or in an exam answer box.

#### Worked example: converting 0.375

Start by counting the decimal places: 0.375 has three, so the place value is thousandths and the raw fraction is 375/1,000. Now reduce it. Both numbers divide by 5 (giving 75 and 200), both of those divide by 5 again (giving 15 and 40), and 15 and 40 divide by 5 a third time (giving 3 and 8). Three and eight share no factor larger than 1, so the reduction stops. The calculator reaches the same result a different way: it tests denominators 1 through 10,000, keeps the fraction with the smallest error, and reduces that winner.

- Count the decimal places: 0.375 has three, so write it over 1,000, giving 375/1,000
- Factor the numerator: 375 = 3 × 5³
- Factor the denominator: 1,000 = 2³ × 5³
- Cancel the shared 5³ from top and bottom, leaving 3/8
- Check it: 3 ÷ 8 = 0.375, which matches the input

### Common decimals and their fractions

| Decimal | Fraction | Where you see it |
| --- | --- | --- |
| 0.5 | 1/2 | Halves, from bill splits to scaled drawings |
| 0.25 | 1/4 | Quarters in money and measurements |
| 0.125 | 1/8 | Eighth-inch marks on a ruler |
| 0.375 | 3/8 | Common drill bit and wrench size |
| 0.625 | 5/8 | Thread pitch and lumber dimensions |
| 0.75 | 3/4 | Three-quarter hour and volume marks |
| 0.1 | 1/10 | Tenths in ratings and percentages |
| 0.2 | 1/5 | A 20 percent tip or grade |
| 0.05 | 1/20 | 5 percent increments |
| 0.6667 | 6,667/10,000 | Rounded two thirds; see below |

The eighth-inch rows deserve extra attention because US rulers and tape measures mark inches in halves, quarters, eighths and sixteenths. On the eighth scale, 0.125 is 1/8, 0.25 is 2/8, 0.375 is 3/8, 0.5 is 4/8, 0.625 is 5/8, 0.75 is 6/8 and 0.875 is 7/8. Converting a decimal measurement to the nearest ruler tick is one of the most frequent real-world uses of this calculator.

### Repeating decimals are approximations

A decimal you type is finite, but the number it represents may not be. Enter 0.3333 and the calculator returns 3,333/10,000 exactly, because that fraction equals 0.3333 with zero error. It is close to one third but not equal to it: 1/3 = 0.333&hellip; running forever. Recovering 1/3 exactly would require an infinite string of 3s, which no input box accepts.

The practical rule is that more digits buy more accuracy. Entering 0.33 returns 33/100, which misses 1/3 by about 0.0033. Entering 0.333333 is close enough that the calculator locks onto 1/3 itself, since no fraction with a denominator up to 10,000 lands nearer to 0.333333 than one third does. Seven digits of input are usually enough to recover any simple fraction you started from.

#### How the denominator limit works

The search stops at a denominator of 10,000, which covers every fraction you will meet on a ruler, a recipe or a standardized test. Some decimals have exact fractions beyond the limit: 0.123456 equals 1,929/15,625 exactly, but the calculator returns 1229/9955 ≈ 0.1234556 because 15,625 exceeds the cap. When an output denominator looks unfamiliar, treat the result as an approximation and add input digits to see whether a simpler fraction emerges.

### Mistakes people make

- Writing 0.3 as 1/3 — one third is 0.333&hellip;, while 0.3 is exactly 3/10
- Skipping the reduction: 375/1,000 and 3/8 are the same number, but only 3/8 is in lowest terms
- Dropping the sign: −0.625 is −5/8, not 5/8
- Treating a rounded decimal as exact: 0.6667 is 6,667/10,000, not 2/3
- Mixing up place values: 0.05 is 5/100 = 1/20, not 1/50

Each of these errors shows up constantly in graded work. Rounding one third to 0.33 and converting back gives 33/100, which most answer keys mark wrong. The fix is to keep as many decimal places as the source number carried and to reduce the final fraction before submitting it.

### Where the conversion matters

Recipes are the friendliest application. A measurement of 0.375 cups is 3/8 of a cup, which is 6 tablespoons, because one cup holds 16 tablespoons and 16 × 0.375 = 6. Scaled recipes produce decimals like this constantly: 1.5 batches of a 1/4-cup ingredient leaves you with 0.375 cups. Converting back to a fraction before you measure saves the guesswork of eyeballing 0.375 of a cup.

Standardized tests still expect fraction fluency in 2026. SAT math, GED exams and ASVAB arithmetic all include questions whose answer choices are fractions, so a decimal such as 0.375 has to be recognized as 3/8 to match. Trades use the same skill daily: drill bits, wrench sizes, lumber thickness and bolt diameters are specified in fractional inches, which is why a 0.375-inch bit is bought as a 3/8-inch bit.

## FAQ

### How do I convert 0.375 to a fraction?

Write it over 1,000 as 375/1,000, then divide both parts by their greatest common divisor, 125. The result is 3/8, and 3 ÷ 8 = 0.375 confirms it.

### What is 0.3333 as a fraction?

Exactly 3,333/10,000. That approximates one third but is not one third itself, since 1/3 = 0.333&hellip; repeats forever. Enter 0.333333 and the calculator will lock onto 1/3.

### How does the calculator handle repeating decimals?

It tests every denominator from 1 to 10,000, keeps the fraction with the smallest error, and reduces that fraction by its GCD. The output is the closest fraction the limit allows, which is not always the exact value.

### What does lowest terms mean?

The numerator and denominator share no common factor above 1. The fraction 6/8 reduces to 3/4 because both divide by 2, and 3/4 cannot shrink any further.

### How do I convert a negative decimal?

Convert the absolute value first, then attach the sign. The calculator returns −3/8 for −0.375 and −5/8 for −0.625.

### What is 0.125 as a fraction?

1/8. The raw form is 125/1,000, and dividing both numbers by 125 leaves 1 over 8. That is why 1/8 is the smallest tick on an eighth-inch ruler.

### Why did my long decimal return an unusual fraction?

Long decimals often have exact fractions whose denominators exceed the 10,000 limit, so the calculator returns the closest match. Adding more input digits usually reveals a simpler fraction.

### Is 0.2 equal to 1/5?

Yes. 0.2 is 2/10, and dividing top and bottom by 2 gives 1/5. The same mapping covers the other tenths: 0.4 is 2/5, 0.6 is 3/5 and 0.8 is 4/5.

### What fraction is 0.05?

5/100, which reduces to 1/20. On a ruler marked in sixteenths, 0.05 inches sits just under 1/16 (0.0625), so it reads as roughly one sixteenth of an inch.

## Method and sources

Methodology: Results follow exact mathematical definitions; the arithmetic is deterministic and can be verified by hand from the steps shown.

Last updated: 2026-11-17.
- Continued-fraction / denominator-search approximation with reduction by GCD.
