# Math Constants (JavaScript)

Math constants return constant values that are properties of the **Math** object. These include the following: E, LN2, LN10, LOG2E, LOG10E, PI, SQRT1_2, SQRT2.

The following table lists constant values that are properties of the Math object.

Constant | Value returned | Equal to approximately |
---|---|---|

| The mathematical constant e. This is Euler's number, the base of natural logarithms. | 2.718 |

| The natural logarithm of 2. | 0.693 |

| The natural logarithm of 10. | 2.302 |

| The base-2 logarithm of e. | 1.443 |

| The base-10 logarithm of e. | 0.434 |

| Pi. This is the ratio of the circumference of a circle to its diameter. | 3.14159 |

| The square root of 0.5, or, equivalently, one divided by the square root of 2. | 0.707 |

| The square root of 2. | 1.414 |

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards. See Version Information.

**Applies To**: Math Object (JavaScript)