DevOps Live Data stays in your browser

Docker Image Size Estimator

Estimate your Docker image's total compressed and uncompressed size from a list of base images and custom layers. Includes a reference table of popular base image sizes. No Docker daemon required.

Base Image

Additional Layers

Tip: Compressed size is typically 30–60% of uncompressed for source code and binaries. If you only know one value, leave the other blank and we'll estimate it.

Total Layers

1

Compressed Size

40.0 MB

registry pull / push

Uncompressed Size

130.0 MB

disk / container runtime

📦

Moderate image

Layer Breakdown
Layer Compressed Uncompressed % of Total

Common Base Image Reference

Image Compressed Uncompressed Best for
scratch 0 MB 0 MB Static Go/Rust binaries
alpine:latest 3.5 MB 8 MB Minimal Linux shell
distroless/static 2 MB 6 MB No shell, ultra-minimal
debian:slim 30 MB 80 MB Slim Debian base
ubuntu:22.04 29 MB 77 MB Full Ubuntu environment
node:alpine 40 MB 130 MB Node.js microservices
node:slim 60 MB 180 MB Node.js (more compat)
python:alpine 25 MB 80 MB Python (limited C ext)
python:slim 45 MB 130 MB Python (better compat)
golang:alpine 70 MB 230 MB Go build environment
nginx:alpine 8 MB 25 MB Static file serving
eclipse-temurin:alpine 80 MB 230 MB JVM workloads

Disclaimer: Free tool provided “as is” by MonitorGiant. No warranty or liability for any data loss, security issues, or infrastructure problems arising from use of this tool. Results are for informational purposes only. · A Free Tool by MonitorGiant

What is Docker Image Size Estimator?

Docker images are built from stacked layers — each FROM, RUN, COPY, and ADD instruction adds a layer. The total image size directly affects pull times, registry storage costs, deployment speed, and attack surface. This tool lets you estimate your final image size before building by combining a known base image with your own application layers, without needing Docker or a registry connection.

How to use this tool

  1. 1 Select a base image from the dropdown — popular options like node:alpine, python:slim, and golang:alpine are pre-loaded with real size data.
  2. 2 Or enter a custom base size if you know your exact base image's compressed and uncompressed sizes from Docker Hub.
  3. 3 Click 'Add Layer' to model your application layers — source code copies, dependency installs, config files, and compiled binaries.
  4. 4 For each layer enter the estimated compressed size (what gets transferred over the network) and uncompressed size (disk usage at runtime). If you only know one value, enter it and leave the other blank — the estimator will approximate.
  5. 5 Read the total compressed and uncompressed sizes. The size banner benchmarks your image against best-practice thresholds and suggests optimisations.

When would you use this?

  • Before writing a Dockerfile — choose the smallest viable base image by comparing sizes in the reference table.
  • Evaluating whether to add a dependency — estimate how much a new apt-get install or npm install adds to your final image.
  • Optimising CI/CD pipelines — large images slow every deployment. Use this tool to set a size budget before running the actual build.

Related tools

How works

  1. 1

    Pick a base image

    Choose from 20+ pre-loaded common base images or enter a custom size. The reference table at the bottom shows all options with their compressed and uncompressed footprints.

  2. 2

    Add your layers

    Model COPY instructions, RUN commands that install packages, and compiled artifacts. Enter compressed and uncompressed sizes — or just one, and we estimate the other.

  3. 3

    Read the size assessment

    The banner rates your image as minimal, moderate, large, or very large with specific optimisation suggestions. The breakdown table shows which layers contribute most to the total.

This is an estimation tool only. All calculations run in your browser — no image names, layer data, or sizes are sent to any server.

Comments & Feedback

Found a bug? Have a suggestion? We'd love to hear from you.

0 / 2000

Related Tools

From the makers of this tool

Need deeper observability?

MonitorGiant tracks real-time AI performance, infrastructure health, and system reliability — far beyond what free utilities can show.

Explore MonitorGiant