Pixel to World Unit Converter

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:

This tool helps you maintain consistent sprite scaling across different engines.

How to Use This Converter

  1. Select your game engine (Unity, Godot, Unreal, or Custom)
  2. Adjust Pixels Per Unit if needed (default values are set for each engine)
  3. Choose conversion direction (pixels to units or units to pixels)
  4. Enter your value in the input field
  5. Click "Calculate" to see the converted result
  6. For Unreal Engine, the result shows both world units and centimeters

Benefits of Using This Tool

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).