---
title: max
framework: swift
role: symbol
role_heading: Type Property
path: swift/int/max
---

# max

The maximum representable integer in this type.

## Declaration

```swift
static var max: Self { get }
```

## Discussion

Discussion For signed integer types, this value is (2 ** (bitWidth - 1)) - 1, where ** is exponentiation.

## See Also

### Accessing Numeric Constants

- [zero](swift/int/zero.md)
- [min](swift/int/min.md)
- [isSigned](swift/int/issigned.md)
