
PRBMath
A Solidity library to handle complex fixed-point math with signed and unsigned variables.

What is PRBMath ?
PRBMath, the Paul Razvan Berg-written math library is gas-friendly and comes with default functions to handle exponentials, powers, logarithms, and square roots. Developers can create mathematical calculations in smart contracts using signed 59.18-decimal fixed-point and unsigned 60.18-decimal fixed-point numbers with up to 18 trailing decimals. Nearly 1,000 stars and over 100 forks attest to the usefulness of the library's tools.
Web3 dapps and developer tools related to PRBMath
Discover blockchain applications that are frequently used with PRBMath .
Developer resources from Alchemy

The 6 best Solidity IDEs for developers (2026)
Explore the best IDEs for Solidity development.

Smart accounts adoption accelerated in Q4 2023
ERC-4337 smart account adoption saw major growth in the fourth quarter of 2024, surpassing 1 million total deployed accounts!

Metropolis makes it easy to deploy smart contracts using Alchemy's account abstraction infrastructure
Learn how Metropolis is leveraging Alchemy's account abstraction infrastructure to redefine smart contract deployment with their new product, Metal.
PRBMath alternatives
Explore web3 competitors and apps like PRBMath .
App store listings are independently reviewed and written by Alchemy using a combination of inbound submissions, editorial research, public project sources, and third-party directories, including ecosystem data from The Grid under the Open Database License, DefiLlama, DappRadar, Reown, and chain ecosystem pages.

