Fractional part calculator

Type a number. The fractional part is what remains after you subtract the integer part toward minus infinity. 3.75 leaves 0.75. 9 leaves 0. −2.3 leaves 0.7, not −0.3.

The fractional part: the number minus the integer part toward −∞. We subtract the integer part (rounded down) and keep a piece between 0 and 1. For −2.3 the result is 0.7 - not −0.3. That is the usual school definition.

Input

Result

Enter a number to see the fractional part.

What it means

Take 3.75. The integer part is 3, and the fractional part is 0.75, what sits after the decimal. You subtract the integer part (floored toward −∞). For positives the effect is obvious. For negatives the integer part walks left: for −2.3 the integer part is −3, so −2.3 − (−3) = 0.7.

The fractional part: the number minus the integer part toward −∞. 3.75 rounded to ones is often 4; here you keep 0.75 and see integer part 3 beside it. Whole number 9 has nothing after the decimal, result 0.

One Number field. Type 3.75, click Calculate. A comma and a period both parse. The result lies in [0, 1). Minus 2.3 does not give −0.3 in this calculator, because school teaches the floor-toward-minus-infinity variant.

Absolute value of −2.3 is 2.3, another calculator. Square root and power do not split a number into whole and fraction. Here one input and two pieces: integer and fractional.

Without a number, nothing computes. Typed 0 gives 0. 3.75 still leaves 0.75 no matter the header.

4.1 gives 0.1. −1.25 gives 0.75, because floor is −2. 0.99 gives 0.99. −0.1 gives 0.9.

Where it helps

  • School tasks about integer and fractional parts.
  • Splitting whole units from a remainder (for example whole hours and a fraction of an hour).
  • Checking whether a number is whole (fractional part = 0).
  • Practice splitting a number into two pieces.

How to use

  1. Type a number in Number, for example 3.75 or −2.3.
  2. Click Calculate. 3.75 gives 0.75. 9 gives 0. −2.3 gives 0.7.
  3. Also look at the integer part beside it to check: 3.75 minus 3 leaves 0.75.
  4. 3.75 keeps 0.75; it does not jump to 4. 3.75 does not become 4.
  5. Distance |−2.3| = 2.3 lives on absolute value. Here you split a number into whole and fraction.

Fractional part and floor

The fractional part is the remainder after subtracting the integer part toward minus infinity. 3.75 leaves 0.75. −2.3 leaves 0.7.

fractional
The piece from 0 inclusive to 1 exclusive. 3.75 gives 0.75. 9 gives 0, because nothing sticks out after the point.
integer
The greatest integer not larger than the entry. Floor(3.75) = 3, the integer part of (−2.3) = −3, so −2.3 − (−3) = 0.7.
3.75
The calculator example. Integer part 3, fraction 0.75. That is not rounding to 4.

Examples

Example 1

  • Number: 3.75

0.75

Subtract 3 from 3.75. You are left with 0.75.

Example 2

  • Number: 9

0

Nothing after the decimal point, so the result is 0.

Example 3

  • Number: −2.3

0.7

The integer part is −3. So −2.3 − (−3) = 0.7.

Related calculators

FAQ

What is the fractional part of 3.75?

You get 0.75. Subtract the integer part 3 from 3.75 and only the fraction remains, the same case as on the page.

What about 9?

The result is 0. Nine is already an integer, so nothing remains after the decimal point.

What about −2.3?

You get 0.7, not −0.3. Floor walks toward minus infinity, so the integer part is −3, and −2.3 − (−3) = 0.7.

Is this rounding?

No. 3.75 rounded may become 4, but here the fraction stays 0.75 and the whole part is 3. The calculator splits, it does not round.

What range is the result in?

From 0 inclusive to 1 exclusive. 0.99 stays 0.99, and 1.0 gives 0, because one is already the next integer.

What are −1.25 and −0.1?

You get 0.75 and 0.9. Floor(−1.25) = −2 and the integer part of (−0.1) = −1, then you subtract that integer from the entry.

What is 4.1?

You get 0.1. The integer part is 4, so 4.1 minus 4 leaves only the fraction.

How is this different from |−2.3|?

The absolute value of −2.3 is 2.3, distance from zero. Here the floor fraction is 0.7, a different formula and a different card.

Does a comma in 3,75 work?

Yes. 3.75 and 3,75 are the same number. The calculator does not insist on a period.

Does 0.0 give 0?

Yes. Zero has no fractional part, so the result stays 0.

Knowledge sources

The calculator computes the same formula as the definition below.

Page updated in 2026.