On Ethereum, 1 ETH = 1,000,000,000,000,000,000 wei — and Solidity protects your math!

Arithmetic, Checked Math & Gas Basics

Safe Overflow Protection in 0.8+, Integer Division & Ether Denominations