WindowmacGitHubInstall

Free tool · runs in your browser

Window Size Calculator

Enter your display resolution and gap to see the exact pixel size and position of every common window layout: halves, thirds, two thirds, quarters and a centred window.

LayoutWidth × heightPosition (x, y)

How the sizes are worked out

macOS places windows in points, not pixels. The usable area is the display height minus the menu bar and, if it is always visible, the Dock. Windowmac shrinks that area by half the gap on every side, divides it into the layout, then shrinks each window by half the gap again. The result is the same gap between two windows as at the screen edge, and every third is exactly the same width.

Positions are measured from the top-left corner of the usable area. To find your display's size in points, open System Settings → Displays and read the resolution it says the display "looks like".

Frequently asked questions

What resolution should I enter for a Retina display?

Enter the "looks like" resolution from System Settings, Displays, not the panel resolution. macOS positions windows in points, so a 14-inch MacBook Pro set to its default looks like 1512 by 982.

Why does the menu bar matter?

Windows cannot cover the menu bar, so the usable height is the display height minus the menu bar (about 24 points, or about 37 on Macs with a notch) and minus the Dock if it is always shown.

Does Windowmac use these exact sizes?

Yes. Windowmac divides the usable screen area the same way and applies the gap you set in its Settings between windows and at the screen edges.

Related guides

Windowmac app icon

Try Windowmac, free

Windowmac is a free, open-source window manager for macOS. Hold Option and flick to snap windows to halves, thirds, quarters or another screen.

curl -fsSL https://www.windowmac.app/install.sh | bash
Install Windowmac free