Mesh memory calculator
Work out how much GPU memory a mesh uses from its vertices, triangles and attribute precision. Add LODs and instances, and compare the layouts used by Unity, Unreal, Godot and glTF side by side.
Files
FBX, GLB, glTF or OBJ files, optional
Mesh
Vertex attributes
LODs and instances
Results
GPU memory
Details
Bytes per vertex
Estimated vertices
LOD levels
Compare all layouts
All layouts with these counts
How the mesh memory calculator works
A mesh’s memory on the GPU is mostly two buffers. The vertex buffer holds one entry per vertex, so its size is the number of vertices multiplied by the bytes each vertex uses. The index buffer holds three indices per triangle, at 2 or 4 bytes each.
Attribute sizes round up to 4 bytes, the rule in Unity, WebGPU and glTF, so a 16-bit position costs 8 bytes rather than 6.
- Use the vertex and triangle counts your engine shows where you can.
- Choose or drop FBX, GLB, glTF or OBJ files to fill in the settings. A .gltf’s other files are never fetched. Vertices come from an estimate of what each engine builds, which can be far above the file’s points. These rules were measured on Windows against Unity 6.3 and 6.6, Unreal 5.6 and 5.8 and Godot 4.7.2 with default import settings, on real game meshes; other versions and settings can differ, and Unreal’s experimental uFBX option gives different counts. A GLB, glTF or OBJ file already holds the vertices an engine would use, so its count is shown as it is.
- Estimated vertices lists what Unity, Unreal default, Unreal, file normals and Godot would build for every mesh in your files, and Estimate for chooses which one fills Vertices. File corners is the most a mesh could need: one vertex for every corner of every polygon in the file. Not measured means the rules have no figure for that mesh, and about marks a rough figure for a mesh with no normals. Unreal default is what Unreal builds if you change nothing, since it works out its own normals. Unreal, file normals is Unreal with Recompute Normals turned off.
- Layout preset sets the precision of the position, normal, tangent and UVs to what that engine uses. Your UV sets, colour and skinning stay as they are, and the preset shows Custom when you change one of its fields.
- Index size Auto uses 16-bit up to 65,535 vertices and 32-bit above that. Every LOD level uses the same index size.
- Extra bytes covers anything else your vertices hold, and rounds up to 4 like the attributes.
- Each LOD level has the ratio you set of the level above, rounded up, so 50% halves it each time. Separate buffers counts every level’s vertices and indices. Shared vertices counts the first level’s vertices once and adds up the indices.
- Instances share the mesh’s buffers and add only their own data, so the mesh isn’t counted again. A 4×4 matrix takes 64 bytes and a 3×4 matrix takes 48.
- Keep a CPU copy adds a row for the copy in system memory. It is not part of the GPU total.
- Compare all layouts lists the same counts under every preset, in the same order as Layout preset, with your layout marked as selected.
- Copy link copies a link to the current settings, so you can share them or come back to them later.
- Undo and Redo (Ctrl+Z to undo; Ctrl+Y or Ctrl+Shift+Z to redo) step back and forward through changes to the settings, up to 50 steps. A number you type counts as one step when you leave the field.
- Your settings are kept while you move between the tools in this tab, and are cleared when you close the tab or choose Clear saved work.
Questions
Why is my engine’s vertex count higher than my modelling tool’s?
The GPU stores one set of attributes per vertex, so a vertex on a UV seam or a hard edge has to be split. Unity’s manual says a vertex is split when it has multiple normals, UV coordinates or vertex colours.
Why does my profiler show more than this?
Engines can keep more than these buffers. In Unity, Read/Write Enabled keeps a CPU copy as well. Unreal can add extra index buffers, a distance field and ray tracing data. Precision settings don’t always apply either: Unity keeps position, normal and tangent as 32-bit floats when a mesh has bone weights.
Does Draco or mesh compression lower GPU memory?
They make the file smaller, but the data is decompressed when it loads, so the GPU holds the full buffers. Lower precision does save GPU memory, because it changes the bytes per vertex.
Does this work for Unreal’s Nanite?
No. Nanite stores meshes in its own compressed format, so a vertex buffer sum doesn’t apply. Use Unreal’s own statistics for Nanite meshes.