UDim2 Converter
Convert between Scale and Offset for any screen size, with the code ready to paste.
On every screen
The same values on each device. Tap one to switch.
Position
Size
AnchorPoint
On: changing the anchor moves Position, so the frame stays where it is.
Parent
Paste a UDim2
| Form | Position | Size |
|---|
Keep the shape
Scale sizes stretch on wide screens. A UIAspectRatioConstraint keeps your frame's shape: for this one.
The top bar
Roblox's top bar takes about 58 px at the top. With IgnoreGuiInset off, a ScreenGui starts below it. Turn IgnoreGuiInset on to use the whole screen.
Small screens
Offset stays the same size everywhere, so it looks huge on phones. Use Scale, or add a UIScale to shrink a whole menu on small screens.
How it works
Pick a screen
Phone, small phone, tablet, PC or console, with or without the Roblox top bar.
Type or drag
Enter Position and Size, or drag and resize the frame on the mock screen.
Convert
Turn Offset into Scale (or back) with one click. On this screen the frame stays exactly where it is.
Check every device
See the same values on all screens at once, then copy the code.