---
title: "UV padding calculator: pixels and Blender margin"
description: "Calculate UV island padding in pixels and Blender fraction margin from texture size, mip levels, and texel density. Runs live in your browser."
canonical: https://appliedmanifold.com/tools/uv-padding/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Tools](https://appliedmanifold.com/tools/)
3.  UV padding calculator

# UV padding calculator

Use 16 px of padding on a 2K texture, which gives you a 0.0078 fraction margin in Blender and keeps five mip levels from bleeding across seams. Enter your texture size and target mip count in the calculator to get the exact pixel gap and margin for your model.

## Calculate padding and Blender margin

Texture size preset (px)

 512  1024  2048  4096

Texture size (px)  Mip levels to keep clean

Texel density (px/m) (optional)  World size (m) (optional)

**PADDING RESULT**

**Recommended padding**
16 px

**Blender margin (Fraction)**
0.0078

**Texture size used**
2048 px

16 px (0.0078 in Blender) matches the 1/128 table and protects 5 mip levels at 2048 px without seam bleeding.

## Pack once and keep UVs across LODs

Read the [UV packing walkthrough](https://appliedmanifold.com/learn/uv-packing/) for Blender pack steps, dilation, and lightmap overlap checks. When you need levels of detail that preserve your UV layout without manual re-packing, [meshfx](https://appliedmanifold.com/modules/mesh/) keeps your source UVs across every LOD over MCP or REST.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Read UV packing guide](https://appliedmanifold.com/learn/uv-packing/)

## Questions

### How much UV padding do I need for a 2K texture?

Use 16 px of padding on a 2K texture. That matches a 0.0078 fraction margin in Blender and keeps five mipmap levels separated.

### What Blender margin value should I enter for UV packing?

Enter 0.0078 when Margin Method is set to Fraction. Dividing the pixel padding by the texture width keeps the gap proportional at 512 px, 1024 px, 2048 px or 4096 px.

### Why do UV seams bleed when a model is far from the camera?

Your game engine switches to smaller mipmap copies at a distance, which halves the gap between islands at each step. When the starting gap is too small, pixels from neighboring islands or empty space blend across the seam.

### When do I need more than the standard 1/128 padding?

Increase padding when you need more than five mip levels to stay clean on smaller textures or distant props. Raising the clean mip target increases the minimum gap to 2^(N-1) pixels so the smallest mip still keeps islands apart.

### How does texel density help choose a texture size?

Multiply your target texel density in pixels per meter by the object size in meters, then round up to the next power of two between 256 px and 8192 px. That gives you a clean engine texture size before you pack.

## Let your agent check your UVs on every LOD

Paste this prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a GLB with LODs on your UVs and a report that measures every level.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Try it in the Playground →](https://appliedmanifold.com/playground/?module=meshfx&cookbook=namaqualand_rocks&spec=f859915a7f50a91eae432dfc1ac89e53babb309217d7682863c22430312d12ad)

New accounts start with $5 of usage, and you see the price of each job before it runs.

Give this to your agent

Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to make 3 LODs of my model that keep its UVs, and report texel density, overlaps and stretch. Show me the price before it runs.

Or add the server yourself in Claude Code:

`claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp`

[Set it up in Cursor, Codex or another agent](https://appliedmanifold.com/docs/mcp/)
