<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKAchievementDescription/rarityPercent-4bh6k",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "s:So24GKAchievementDescriptionC7GameKitE13rarityPercentSdSgvp"
  },
  "title" : "rarityPercent"
}
-->

# rarityPercent

The percentage of players of this game that earned the achievement.

```
var rarityPercent: Double? { get }
```

## Discussion

The rarity percentage ranges between `0.0` and `100.0`, inclusive, where `0.0` indicates that no player has earned the achievement, and `100.0` indicates that every player has earned the achievement. This property is `nil` if there isn’t enough data to compute the rarity of the achievement.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)