---
title: UnitArea
framework: foundation
role: symbol
role_heading: Class
path: foundation/unitarea
---

# UnitArea

A unit of measure for area.

## Declaration

```swift
class UnitArea
```

## Overview

Overview You typically use instances of UnitArea to represent specific quantities of area using the NSMeasurement class. Area Area is a quantity of extent in two dimensions. Area can be expressed by SI derived units in terms of square meters (m2). Area is also commonly measured in square feet (ft2) and acres (ac). The UnitArea class defines its baseUnit() as squareMeters, and provides the following units, which are initialized using UnitConverterLinear converters with the specified coefficients:  |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |   |  |  |

## Topics

### Accessing the Base Unit

- [baseUnit()](foundation/dimension/baseunit().md)

### Accessing Predefined Units

- [squareMegameters](foundation/unitarea/squaremegameters.md)
- [squareKilometers](foundation/unitarea/squarekilometers.md)
- [squareMeters](foundation/unitarea/squaremeters.md)
- [squareCentimeters](foundation/unitarea/squarecentimeters.md)
- [squareMillimeters](foundation/unitarea/squaremillimeters.md)
- [squareMicrometers](foundation/unitarea/squaremicrometers.md)
- [squareNanometers](foundation/unitarea/squarenanometers.md)
- [squareInches](foundation/unitarea/squareinches.md)
- [squareFeet](foundation/unitarea/squarefeet.md)
- [squareYards](foundation/unitarea/squareyards.md)
- [squareMiles](foundation/unitarea/squaremiles.md)
- [acres](foundation/unitarea/acres.md)
- [ares](foundation/unitarea/ares.md)
- [hectares](foundation/unitarea/hectares.md)

## Relationships

### Inherits From

- [Dimension](foundation/dimension.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Physical Dimension

- [UnitLength](foundation/unitlength.md)
- [UnitVolume](foundation/unitvolume.md)
- [UnitAngle](foundation/unitangle.md)
