---
title: humidity
framework: weatherkit
role: symbol
role_heading: Instance Property
path: weatherkit/hourweather/humidity
---

# humidity

The humidity for the hour.

## Declaration

```swift
var humidity: Double
```

## Discussion

Discussion Relative humidity measures the amount of water vapor in the air compared to the maximum amount that the air could normally hold at the current temperature.  The value is from 0 (no humidity) to 1 (100% humidity).

## See Also

### Getting temperature and humidity

- [apparentTemperature](weatherkit/hourweather/apparenttemperature.md)
- [temperature](weatherkit/hourweather/temperature.md)
- [dewPoint](weatherkit/hourweather/dewpoint.md)
