# Java: Range of a float

A `float`

is a **32-bit IEEE 754 floating point**.

Min value (inclusive) and max value (inclusive):

−3.40282347×10

^{38}… 3.40282347×10^{38}or, equivalently

−1.111⋯1×2

^{127}… 1.111⋯1×2^{127}The **maximum value** is available as a constant: `Float.MAX_VALUE`

.

The **minimum value** is `-Float.MAX_VALUE`

, and **not** `Float.MIN_VALUE`

.

IEEE 754 values are symmetrical around origo as opposed to two’s complement integers.

The constant `Float.MIN_VALUE`

is the smallest value **greater than 0**, i.e. **not** the smallest possible value. (This constant corresponds to `Epsilon`

in .NET.)

See ranges of all primitive types here: Java: Ranges of Primitive Types.