---
title: "Discussion on \"Uint256 max value\" | Hashnode"
description: "Discussion on \"Uint256 max value\". The maximum value of uint256 can be obtained with\ntype(uint256).max;\n\nWhich is equal to 115792089237316195423570985008687907853269984665640564039457584007913129639935 (2²⁵⁶ — 1). But it’s cleaner and safer to use type(uint256).max.\nThe same can be us..."
url: "https://hashnode.com/posts/uint256-max-value/642d24589a30ae2adcf01229"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Uint256 max value](https://rareskills.hashnode.dev/uint256-max-value?utm_source=hashnode&utm_medium=feed)

The maximum value of uint256 can be obtained with type(uint256).max; Which is equal to 115792089237316195423570985008687907853269984665640564039457584007913129639935 (2²⁵⁶ — 1). But it’s cleaner and safer to use type(uint256).max. The same can be us...

Apr 5, 2023 · 2 min read · rareskills.hashnode.dev  
Read the article

-   [#solidity](https://hashnode.com/tag/solidity)
-   [#rareskills](https://hashnode.com/tag/rareskills)
-   [#uint256](https://hashnode.com/tag/uint256)

## Written by

[RareSkills](https://hashnode.com/@rareskills)

@rareskills

  
[View profile](https://hashnode.com/@rareskills)

A web3 bootcamp that turns junior blockchain developers into senior developers

We turn junior web3 blockchain engineers into senior ones.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
