Quick answer
A decimal converts to a fraction by writing its digits over a power of ten and reducing by the greatest common divisor. 0.375 = 375/1000 = 3/8, which is also 37.5%.
Enter a decimal. The calculator returns the simplified fraction, percentage and mixed number.
Related tools: Decimal to Fraction Calculator: Convert a terminating decimal to a simplified fraction. Fraction to Decimal and Percent Calculator: Decimal, percent and simplest form of a fraction. Fraction to Decimal Calculator: Convert a fraction to a decimal, showing repeating digits.
This page covers the same calculation as the decimal to fraction calculator page; the two give identical results.
How to use the Decimal to Fraction Calculator
- Type decimal, for example 0.375.
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Decimal | Text, such as 0.375 | — |
Formula and method
Formula
digits ÷ 10^(decimal places), reduced by the greatest common divisor
IEEE-754 double precision; shown to at most 6 decimal places.
Works for terminating decimals of up to 15 decimal places.
Worked examples
These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: Decimal = 0.375.
| Result | Value |
|---|---|
| Fraction | 3/8 |
| Percent | 37.5% |
| Mixed number | 3/8 |
Example 2
Inputs: Decimal = 2.5.
| Result | Value |
|---|---|
| Fraction | 5/2 |
| Percent | 250% |
| Mixed number | 2 1/2 |
Example 3
Inputs: Decimal = 0.125.
| Result | Value |
|---|---|
| Fraction | 1/8 |
| Percent | 12.5% |
| Mixed number | 1/8 |
The first line is the headline result (fraction). Below it the decimal to Fraction Calculator lists percent and mixed number, which describe the same case from other angles. IEEE-754 double precision; shown to at most 6 decimal places.
Steps
Count the decimal places (3), put the digits over 10³ (375/1000) and divide top and bottom by their GCD (125), giving 3/8.
Repeating decimals
A repeating decimal such as 0.333… cannot be entered exactly; use a rounded value to get an approximate fraction or recognise the pattern (1/3). This page is not the four-operation decimal calculator that competitors offer under the same name.
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- Decimal: entering "1/3" shows "Enter a decimal number such as 0.375." beside that field and no result.
Choosing between the Decimal to Fraction Calculator and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [Decimal to Fraction Calculator](/math/decimal-to-fraction-calculator/) | decimal | Fraction |
| [Fraction to Decimal and Percent Calculator](/math/fraction-decimal-equivalents/) | numerator and denominator | Decimal |
| [Fraction to Decimal Calculator](/math/fraction-to-decimal-calculator/) | numerator and denominator | Decimal |
| [Fraction Calculator](/math/fraction-calculator/) | numerator 1, denominator 1 and operation | Result |
| [Inch Fraction Calculator](/math/inch-fraction-calculator/) | decimal inches and nearest | Nearest fraction |
Assumptions and limitations
- Repeating decimals must be rounded first
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for decimal to confirm this.
Frequently asked questions
What is 0.5 as a fraction?
0.5 is 5/10, which reduces to 1/2.
How do I convert 2.75?
2.75 is 275/100, which reduces to 11/4 or the mixed number 2 3/4.
What about negative decimals?
The sign is kept: −0.375 converts to −3/8.
What does the Decimal to Fraction Calculator calculate?
Exact fraction, percent and mixed number for a finite decimal. It returns Fraction, Percent and Mixed number.
What formula does the Decimal to Fraction Calculator use?
digits ÷ 10^(decimal places), reduced by the greatest common divisor. Works for terminating decimals of up to 15 decimal places.
What do I need to enter in the decimal to Fraction Calculator?
You enter Decimal.
How is the result rounded or limited?
IEEE-754 double precision; shown to at most 6 decimal places. Repeating decimals must be rounded first.
What is an example of a decimal to Fraction result?
With decimal 0.375, the fraction is 3/8.
Where does the method come from?
The method follows: Standard arithmetic.
Related calculators
- Decimal to Fraction Calculator — Convert a terminating decimal to a simplified fraction.
- Fraction to Decimal and Percent Calculator — Decimal, percent and simplest form of a fraction.
- Fraction to Decimal Calculator — Convert a fraction to a decimal, showing repeating digits.
- Fraction Calculator — Add, subtract, multiply and divide fractions with simplified and mixed-number results.
- Inch Fraction Calculator — Convert decimal inches to the nearest fractional inch.
- Decimal to Percent Calculator — Convert a decimal to a percentage.
Sources
- Standard arithmetic
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.