Photo Mosaic Effect

Turn a photo into a mosaic of square tiles, round dots or a honeycomb of hexagons, each the exact average colour of the part of the picture it covers, with grout lines in any colour.

Tool Media & Files Updated Oct 16, 2026
How to Use
  1. Drop a photo on the box, click to browse, or paste one. A sample landscape is shown until you do, so you can try the presets first.
  2. Choose a tile Shape: Square for classic tiles, Circle for a dot pattern, or Honeycomb for interlocking hexagons.
  3. Set the Tile size in pixels. For a recognisable picture, make it about 1/50 to 1/100 of the image width.
  4. Set the Gap and Grout colour for the lines between tiles; 0 gives tiles that touch.
  5. Save in any format from the Save panel. Show Work gives the grid, the grout share and the exact average of one tile from your own photo.
Image & Tiles
px
px
Presets
Result
Tiles
—
Grid
—
Pixels per Tile
—
Grout Share
—

Worked Example

A 1200×800 photo with 24 px square tiles and a 3 px gap. The grid is 1200 ÷ 24 = 50 columns by ⌈800 ÷ 24⌉ = 34 rows, 1,700 tiles; the last row is only 800 − 33 × 24 = 8 px tall. A tile that is half sky (120, 170, 230) and half grass (80, 140, 60) averages its 576 pixels to (100, 155, 145), and is drawn 21 px wide, so the grout covers 1 − (21 ÷ 24)² = 23.4% of the picture.

Dots and hexagons. Round tiles of 24 px with no gap still leave 1 − π ÷ 4 = 21.5% of each square showing grout; 14 px dots with a 2 px gap leave 42.3%. A 26 px honeycomb puts rows 26 × 0.866 = 22.5 px apart, shifts every other row by 13 px, and draws each hexagon with a corner radius of 26 ÷ √3 = 15.0 px, so the tiles interlock with no gaps.

The common mistake: choosing the tile size in pixels without looking at the photo size. 8 px tiles turn a 600 px web image into a bold 75-tile-wide mosaic, but on a 6000 px camera file they are barely visible. Aim for 50 to 100 tiles across the width.

Show Work

Load an image to see the grid and one tile averaged from its own pixels.

Formulas

Square grid
cols = ⌈W ÷ t⌉, rows = ⌈H ÷ t⌉
From the top-left corner; edge cells can be smaller
Tile colour
c̄ = round(Σ c ÷ n)
Per channel, over every pixel in the cell
Honeycomb
row spacing = t√3 ÷ 2, odd rows + t ÷ 2
R = (t − g) ÷ √3
A pixel belongs to the nearest hexagon centre; R is the corner radius drawn
Grout share, squares or hexagons
1 − ((t − g) ÷ t)²
The drawn tile shrinks by the gap on each side
Grout share, circles
1 − π (t − g)² ÷ 4t²
Even at g = 0, 21.5% of each square is uncovered

Mosaics, Tesserae and Tilings

Mosaic is one of the oldest ways of making pictures: floors and walls built from small pieces of stone, glass or ceramic set in mortar. The Greeks used natural pebbles; the Romans cut regular cubes called tesserae and covered floors with them, and Byzantine artists added glass and gold tesserae to church walls and ceilings. Every piece is a single colour, and the eye blends them back into a picture from a distance, which is exactly what each averaged tile here does.

The shapes come from geometry. Only three regular polygons can cover a flat surface on their own with no gaps or overlaps: equilateral triangles, squares and regular hexagons. Squares are the natural grid of a digital image; hexagons, the shape bees use, give every tile six equal neighbours. Photomosaics, in which each tile is itself a small photograph, are a separate and much later idea that became popular in the 1990s.

About This Tool

This tool rebuilds a photo as square tiles, round dots or a true honeycomb, where every pixel is assigned to the nearest hexagon. Each tile is the exact average of its own cell, worked out from the full-size photo rather than a shrunken copy, and Show Work prints one tile’s sums so you can check it.

Images are decoded and saved in your browser by the engine behind the Universal Image Converter, so TIFF, PSD, HEIC and RAW files work too. Large photos are previewed at reduced size and drawn at full size when you save. Nothing is uploaded.

Related tools: Pixelate Brush, Posterize (Color Levels), and Pixel Art Editor.

Frequently Asked Questions

Is this a photomosaic made of lots of small photos?

No. Each tile here is one flat colour, the exact average of the part of your photo it covers, like the stone or glass tiles of a real mosaic. A photomosaic replaces each cell with a small photo from a library that has a similar average colour, which needs thousands of extra images.

How is each tile colour worked out?

Every pixel belongs to exactly one cell: a square of the grid, or for the honeycomb the hexagon whose centre is nearest. The tile takes the average red, green and blue of all the pixels in its cell, rounded. A 24 px tile that is half sky (120, 170, 230) and half grass (80, 140, 60) becomes (100, 155, 145).

How much of the picture does the grout cover?

For square tiles of size t with a gap g, the tile is (t − g) wide, so the grout share is 1 − ((t − g) ÷ t)². With 24 px tiles and a 3 px gap that is 1 − (21 ÷ 24)² = 23.4%. Round dots leave more uncovered: even with no gap, circles cover π ÷ 4 = 78.5% of each square, so 21.5% shows grout.

Why hexagons?

Only three regular shapes tile a flat surface with no gaps: triangles, squares and hexagons. Hexagons are the roundest of the three, so a honeycomb mosaic looks softer and more organic than squares, and every tile touches six neighbours instead of four. Here each hexagon is centred on a staggered grid with rows 0.866 tile sizes apart.

Is my photo uploaded?

No. The mosaic is made in your browser, and the photo is decoded and saved by the same engine as the Universal Image Converter, so TIFF, PSD, HEIC and RAW files work too. Large photos are previewed at reduced size and drawn at full size when you save.

How do I use the Photo Mosaic Effect?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Do I need to install or sign up for anything?

Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.

Is my information private?

Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.

Common Use Cases

Wall art and prints

A 6000×4000 photo with 60 px tiles and dark grout becomes a 100 × 67 tile mosaic that reads clearly from across a room.

Real mosaic and craft planning

Set one tile per real tile (say 60 × 40 tiles for a 1.2 m × 0.8 m panel with 2 cm tesserae) and read the colours off the result.

Retro and halftone looks

Round dots on a white background at 14 px give a comic-print feel to a 1080×1080 post.

Backgrounds and textures

A honeycomb at 40 px turns any busy photo into a calm, abstract background behind text.

Last updated: