---
title: backingScaleFactor
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/backingscalefactor
---

# backingScaleFactor

The backing scale factor.

## Declaration

```swift
var backingScaleFactor: CGFloat { get }
```

## Discussion

Discussion The value of this property is 2.0 for high-resolution scaled display modes, and 1.0 for all other cases. There are some scenarios where an application that is resolution-aware may want to reason on its own about the display environment it is running in. It is important to note that the value of this property does not represent anything concrete, such as pixel density or physical size, because it can vary based on the configured display mode. For example, the display may be in a mirrored configuration that is still high-resolution scaled, resulting in pixel geometry that may not match the native resolution of the display device. note: For almost all common cases, developers should avoid using the value of backingScaleFactor as an input to layout or drawing calculations. Developers should instead use the backing coordinate space conversion methods, because the resulting code will more likely work consistently and correctly under both standard and high-resolution operation.

## See Also

### Converting Coordinates

- [backingAlignedRect(_:options:)](appkit/nswindow/backingalignedrect(_:options:).md)
- [convertFromBacking(_:)](appkit/nswindow/convertfrombacking(_:).md)
- [convertFromScreen(_:)](appkit/nswindow/convertfromscreen(_:).md)
- [convertPointFromBacking(_:)](appkit/nswindow/convertpointfrombacking(_:).md)
- [convertPoint(fromScreen:)](appkit/nswindow/convertpoint(fromscreen:).md)
- [convertToBacking(_:)](appkit/nswindow/converttobacking(_:).md)
- [convertToScreen(_:)](appkit/nswindow/converttoscreen(_:).md)
- [convertPointToBacking(_:)](appkit/nswindow/convertpointtobacking(_:).md)
- [convertPoint(toScreen:)](appkit/nswindow/convertpoint(toscreen:).md)
