Convert between pixels and world units for Unity, Godot, and Unreal Engine
Game Engine
How many pixels equal 1 world unit
Standard screen DPI for scaling
Converted Value
1.00
About World Units
Different game engines handle pixel-to-unit conversion differently:
Unity: Uses Pixels Per Unit (default 100) where 100 pixels = 1 unit
Godot: Uses similar Pixels Per Unit but with different default scaling
Unreal Engine: Uses centimeters as base units (1uu = 0.01cm)
This tool helps you maintain consistent sprite scaling across different engines.
How to Use This Converter
Select your game engine (Unity, Godot, Unreal, or Custom)
Adjust Pixels Per Unit if needed (default values are set for each engine)
Choose conversion direction (pixels to units or units to pixels)
Enter your value in the input field
Click "Calculate" to see the converted result
For Unreal Engine, the result shows both world units and centimeters
Benefits of Using This Tool
Consistent Scaling: Maintain proper proportions across different game engines
Time Saving: Quickly convert between measurement systems without manual calculations
Multi-Engine Support: Works with Unity, Godot, Unreal Engine, and custom configurations
DPI Awareness: Account for different screen densities in your conversions
Educational: Understand how different engines handle pixel-to-unit relationships
Frequently Asked Questions
What is a "world unit" in game development?
A world unit is the base measurement system used in game engines to position and scale objects in the game world.
Different engines interpret these units differently - Unity typically uses arbitrary units where 1 unit = 1 meter by convention,
while Unreal Engine uses centimeters as its base unit (1 Unreal Unit = 0.01cm).
Why do I need to convert pixels to world units?
When working with 2D assets in game engines, you often need to match your sprite sizes (in pixels) to the game world's
coordinate system. This conversion ensures your sprites appear at the intended size and maintain proper proportions
relative to other game objects.
What is the Reference DPI used for?
The Reference DPI (96 by default) helps maintain consistent sizing across different display densities.
Some engines use this value to scale UI elements appropriately for the current screen's DPI.
You typically only need to change this if you're targeting specific devices with known DPI values.
Can I use this for 3D game development?
While primarily designed for 2D development, the concepts apply to 3D as well when you need to match
UI elements or texture sizes to world space dimensions. However, 3D development typically relies more
directly on world units without pixel conversion.
How do I determine the right Pixels Per Unit for my project?
The ideal Pixels Per Unit depends on your art style and camera setup. A common approach is to decide
how many pixels you want to represent one "unit" in your game world (often corresponding to 1 meter).
For example, if your character is 180 pixels tall and should be 1.8 units (meters) tall in-game,
you'd use 100 Pixels Per Unit (180px/1.8u = 100).