---
title: "How to fix the scale of an OBJ model | Spatial Compiler"
description: "OBJ stores bare numbers with no unit, so each importer guesses. Read the vertex values, scale the model to real size, then set the export or import scale."
canonical: https://appliedmanifold.com/mesh/fix-model-scale-obj/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [meshfx](https://appliedmanifold.com/mesh/)
3.  OBJ scale

meshfx // OBJ SCALE

# How to fix the scale of an OBJ file

You fix an OBJ's scale by deciding what one unit in the file means, because OBJ stores bare numbers with no unit and no transform. Open it in your 3D editor, scale it to real size, apply the scale and export again, or set the import scale in your engine. Most OBJ exporters have a scale field for this.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx docs →](https://appliedmanifold.com/docs/mesh/)

pyrofx effects work today, and new accounts start with $5 of usage.

**MODULE // meshfx AVAILABLE**

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the [Playground](https://appliedmanifold.com/playground/).

-   OBJ: no unit, no transforms, raw positions
-   The importer decides what 1.0 means
-   Set the exporter's scale field or the import scale

01 // WHY

## Why OBJ size depends on the importer

An OBJ file is a text list of vertex positions (`v` lines) and faces (`f` lines). Nothing in it says whether 1.0 is a meter, a centimeter or an inch, so each importer applies its own unit, and the same file can look right in one engine and 100 times off in another.

The exporter also multiplies each object's position, rotation and scale into the vertex numbers, so the file has no scale value you could reset later, and the size is whatever the numbers say.

02 // HOW TO

## Set the OBJ scale by hand

1.  Open the OBJ in a text editor and read a few `v` lines. For a person-sized model, values up to about 2 suggest meters and values in the hundreds suggest centimeters.
2.  Import it into your 3D editor, note the importer's scale field, and compare the dimensions with the real object.
3.  Scale the model to real size and apply the scale.
4.  Export the OBJ with the exporter's scale field set so one unit in the file equals one unit in your engine.
5.  Or keep the file and scale it on import: Scale Mesh in Godot's OBJ import options, Scale Factor in Unity's Model tab, Import Uniform Scale in Unreal Engine, Scale Unit in the Roblox Studio 3D Importer.

meshfx has units and origin settings, can face a named axis and rename nodes. Set the scale using the known dimensions of your source, then inspect the output in Godot 4. Hosted meshfx runs are available in the Playground.

03 // RELATED

## Related pages

-   [Fix model scale AvailableSize a model in real units, apply the scale, export in the right unit and set the engine import scale only when needed.](https://appliedmanifold.com/mesh/fix-model-scale/)
-   [FBX scale AvailableFBX stores a unit per file, so match the export unit to the engine import scale to stop the factor of 100.](https://appliedmanifold.com/mesh/fix-model-scale-fbx/)
-   [OBJ pivot AvailableAn OBJ pivot is always the file origin, so move the model to 0, 0, 0 before export or switch to GLB.](https://appliedmanifold.com/mesh/fix-pivot-point-obj/)
-   [OBJ to GLB AvailableConvert an OBJ file and its .mtl materials to GLB by hand, and fill in what OBJ leaves out: units, pivots, PBR materials and normals.](https://appliedmanifold.com/mesh/convert-obj-to-glb/)
-   [Wrong size in three.js Availablethree.js has no fixed unit, so measure a loaded model with Box3 and fix the GLB or scale the loaded scene once.](https://appliedmanifold.com/mesh/model-wrong-size-threejs/)
-   [meshfxmeshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.](https://appliedmanifold.com/docs/mesh/)

[All pages in meshfx →](https://appliedmanifold.com/mesh/)

[← FBX scale](https://appliedmanifold.com/mesh/fix-model-scale-fbx/)[STL scale →](https://appliedmanifold.com/mesh/fix-model-scale-stl/)

04 // FAQ

## OBJ scale questions

[All questions →](https://appliedmanifold.com/faq/)

**README.FIX\_MODEL\_SCALE\_OBJ**

### How do I fix incorrect object scale before exporting an OBJ?

Scale the model to its real size, apply the scale and set the OBJ exporter scale field so one file unit matches one engine unit.

### How do I scale an OBJ after OBJLoader loads it in three.js?

Call `object.scale.setScalar(0.01)` on the group OBJLoader returns if the file is in centimeters. Measure first with `new THREE.Box3().setFromObject(object)`.

### How do I import an OBJ at the right size in Godot?

meshfx has units and origin settings, can face a named axis and rename nodes. Set the scale using the known dimensions of your source, then inspect in Godot.

### Should I use OBJ or FBX for Unity?

Use FBX when you need a unit, pivots or animation. OBJ suits a single static mesh as long as you check its size after import.

## Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx →](https://appliedmanifold.com/docs/mesh/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
