> For the complete documentation index, see [llms.txt](https://docs.ionprotocol.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionprotocol.io/devs/smart-contract-architecture/libraries/math/wadraymath-constants.md).

# WadRayMath constants

[Git Source](https://github.com/Ion-Protocol/ion-protocol/blob/88cc595825f1dc2eb738fb93e172a3e8ab7a5c43/src/libraries/math/WadRayMath.sol)

#### [WAD](broken://pages/Qp7LiLGXyYeTSWBFigLf) <a href="#wad" id="wad"></a>

```
uint256 constant WAD = 1e18;
```

#### [RAY](broken://pages/Qp7LiLGXyYeTSWBFigLf) <a href="#ray" id="ray"></a>

```
uint256 constant RAY = 1e27;
```

#### [RAD](broken://pages/Qp7LiLGXyYeTSWBFigLf) <a href="#rad" id="rad"></a>

```
uint256 constant RAD = 1e45;
```
