Focus stacking means photographing the same subject several times, moving the focus a little further back with each frame, and merging the sharp parts into one image that is sharp from front to back. Product, jewellery and macro photographers rely on it because, close up, a single frame is often sharp across a millimetre or less. It is also called z-stacking or focal plane merging.
Below you will find a calculator for the number of frames, a step-by-step guide, the software at UK prices checked on 14 November 2026 and focus bracketing in six camera brands.
The photo below shows the problem in a single frame: the cup is sharp, the stools and the wall behind it are not. Up close it gets far worse. According to the Zerene Systems tables, at a tenth of life size (1:10) and f/11 only about 32 mm of depth is sharp, less than the depth of the cup itself.

What Is Focus Stacking and How Does It Work?
The closer the camera and the wider the aperture, the thinner the slice that is sharp. At half life size (1:2), the Zerene Systems depth of field table gives about 0.16 mm at f/2.8 and about 5 mm at f/16. Zerene already marks f/16 at that magnification as losing sharpness to diffraction, so stopping down further does not solve the problem; it swaps one kind of softness for another. More on the basics in our guide to depth of field.
Focus stacking works around the limit in three steps:
- Shoot a series of frames with identical exposure, moving the point of focus from the nearest part of the subject to the furthest by a step smaller than the depth of field.
- The software aligns the frames, because the magnification changes slightly as the focus moves, and finds the sharpest area in each one.
- It blends those areas into a single image that is sharp throughout.
Software blends the frames in two main ways. According to Zerene Systems, a depth map (DMap in Zerene, Method B in Helicon Focus) keeps smooth surfaces and colours clean, while a pyramid (PMax, Method C in Helicon) keeps more fine detail, such as hairs and crossing bristles, though it tends to add noise and contrast. Helicon adds Method A, a weighted average.
Focus Stacking vs Focus Bracketing
The two terms describe two halves of one job. Focus bracketing is the shooting: the camera, a rail or your hand moves the focus and takes the series. Focus stacking is the merging of that series into one picture, usually on a computer. Many cameras can bracket; only a few can also merge the frames themselves.
You will also see the wider term photo stacking. Astrophotographers stack identical exposures to reduce noise, and HDR blends different exposures. Focus stacking merges different focus distances; astro stacks need their own software.
How Many Frames Do You Need?
The number of frames depends on three things: magnification, aperture and how deep the product is from its nearest to its furthest point. The calculator below uses the formula Zerene Systems gives for its macro tables and the step size it says many photographers use: 0.7 times the depth of field of one frame, so that neighbouring sharp zones overlap.
Calculator: how many frames does your stack need?
Choose the magnification, the aperture and how deep the product is from its nearest to its furthest point.
The calculator needs JavaScript. Results for typical products are in the table below it.
Magnification
On full frame: 1:10 = 360 mm across the frame, 1:5 = 180 mm, 1:3 = 108 mm, 1:2 = 72 mm, 1:1 = 36 mm, 2:1 = 18 mm.
Aperture
Product depth
23frames
At 1:2 and f/8 each frame is sharp across about 1.3 mm. Move the focus by 0.89 mm per frame to cover 20 mm.
Add a frame or two before the front edge and after the back: extra frames do no harm, a gap leaves a soft band.
Model: depth of field = 0.0022 × N² × (m + 1)² ÷ m² in millimetres (N = f-number, m = magnification), from the macro depth-of-field tables of Zerene Systems. Step = 0.7 × depth of field, which Zerene says many photographers use. Frames = product depth ÷ step, rounded up. Magnification = sensor width ÷ frame width (36 mm on full frame). If your camera shows the effective aperture (modern Nikon macro lenses), these numbers are too optimistic: use the effective-aperture table of Zerene Systems.
The same numbers for typical subjects, worked out with the formula below the calculator:
| Subject (depth) | Scale, aperture | Step | Frames |
|---|---|---|---|
| Stud earring (8 mm) | 1:1, f/8 | 0.39 mm | 21 |
| Ring with a stone (20 mm) | 1:2, f/8 | 0.89 mm | 23 |
| Watch on its side (40 mm) | 1:3, f/11 | 3.0 mm | 14 |
| Perfume bottle (60 mm) | 1:5, f/11 | 6.7 mm | 9 |
| Insect, macro (5 mm) | 2:1, f/5.6 | 0.11 mm | 47 |
To find the magnification, frame the product, hold a ruler in the plane of focus and read how many millimetres fit across the frame. Zerene’s formula is magnification = sensor width ÷ frame width, so on a full frame camera (36 mm wide) a frame 72 mm wide is 1:2 and a frame 36 mm wide is 1:1. Many macro lenses with a distance scale also mark the magnification on it.
Zerene’s tables also show which apertures to avoid. For full frame they suggest about f/11 at 1:5 and 1:2, f/8 at 1:1 and f/5.6 at 2:1; one stop smaller and diffraction starts to cost sharpness. The higher the magnification, the wider the aperture and the more frames you need.
Pro tip: if you plan many similar stacks, Zerene suggests a test. Shoot one stack with a step far smaller than needed, then process it using every frame, every second and every third. The largest gap that leaves no soft bands is your step size for that lens and aperture.
How to Focus Stack, Step by Step
The steps below use a ring as the example; the same order works for a watch, a bottle or an insect.
1. Prepare the Subject
- Clean metal and hard stones with a microfibre cloth and isopropyl alcohol; wipe pearls only with a soft cloth and warm, soapy water. At 1:1 every fingerprint shows.
- Fix it on museum wax or a holder so it cannot move during the series.
- Angle it so everything the customer needs to see faces the lens; for a ring, both the stone and the band.
2. Set the Light
- Two large soft lights at about 45° to the subject keep metal free of harsh reflections.
- For diamonds, add one small hard light to bring out the sparkle in the facets.
- Use white and black cards to shape the reflections in polished surfaces.
3. Shoot the Series
- Set the camera to manual exposure, base ISO and RAW, and focus just in front of the nearest point of the subject.
- On a macro rail, move the camera by the step from the calculator. With the focus ring, zoom in to 100% on the screen, find where the sharp zone ends and refocus slightly in front of it, so that neighbouring frames overlap. Shoot until you are just behind the back of the subject and treat the calculator’s frame count as a minimum.
- With camera bracketing or a motorised rail, set the start, the step and the number of frames and let the series run (OM System and Panasonic stacking modes start from the middle, see camera focus bracketing).
4. Process and Stack
- Develop the RAW files identically (exposure, white balance, noise) and export them as 16-bit TIFF, as Zerene Systems recommends.
- Stack in Helicon Focus or Zerene Stacker, keep the frames in shooting order and try both methods: depth map for smooth metal, pyramid for fine detail.
- Check the result at 100% and fix halos or missing detail with the retouching brush, taking the area from the best source frame.
5. Final Retouch
- Remove dust, scratches and edge halos left by the stack.
- Strengthen the highlights the metal and the stones already have, without painting in new ones.
- Cut out the background, place the product on white and export in the size the shop needs.
When Is Focus Stacking Necessary?
Whenever the subject is deeper than one frame can hold at the magnification you need. For e-commerce that is mostly small products shot close, where the customer zooms in to judge the quality.
| Subject | Stacking? | Why |
|---|---|---|
| Jewellery (rings, earrings) | Almost always | Below 1 mm of sharpness per frame at 1:1 and f/8 |
| Watches | Yes | Dial, case and strap lie at very different distances |
| Electronics (boards, connectors) | Yes, close up | Pins and labels need to be legible everywhere |
| Cosmetics (bottles, tubes) | Often | Label, cap and the bottle’s shape in one shot |
| Clothing | Rarely | Flat lays and model shots are taken from further away |
| Furniture | No | Shot from several metres away, where one frame holds the whole piece |
Product Photography
Online shoppers cannot pick the product up, so the photo has to show texture and detail everywhere they look. In product photography stacking is standard for small, detailed items: a watch with a sharp dial and a sharp strap, a bottle where both the cap and the label read clearly.

Macro and Landscape
In macro photography of insects, flowers or water droplets, the Zerene table gives about 0.56 mm of depth of field at 1:1 and f/8, and about 0.025 mm at 5:1 and f/2.8, the apertures it suggests for full frame at those magnifications. Stacking is the only way to get a whole beetle or both the eyes and the wings of a butterfly sharp, and live subjects make it harder, because anything that moves between frames leaves ghosts.
Landscape photographers stack a few frames to keep both the flowers at their feet and the mountains sharp. Wind, moving water and changing light make it slower than in the studio, so it is a deliberate choice, not a routine. The calculator is not built for landscapes: focus on the nearest detail, check at 100% where it turns soft, refocus there and repeat until the horizon is sharp. A handful of frames is usually enough.
Equipment for Focus Stacking
Macro Lens
For product work you need a lens that focuses close enough for the magnification you want; a macro lens that reaches 1:1 (life size) covers everything from earrings to bottles. A focal length of around 90 to 105 mm keeps the lens far enough from a shiny product to leave room for lights and to keep the lens out of the reflections. How the focal length changes working distance is explained in our guide to macro lenses.
Focus Ring, Rail or Camera
- Focus ring: the simplest way. Turning the ring also changes the size of the image slightly, but Zerene Systems says its software corrects magnification changes, whatever causes them.
- Macro rail: the camera moves on a track in fixed steps, which you need above 1:1, where the focus ring runs out. Motorised rails such as the StackShot can be driven from a computer, and the Prosumer and Professional editions of Zerene Stacker can control a StackShot from their own panel.
- Camera focus bracketing: the camera moves the focus itself. It is the fastest option with lenses that support it; the details by brand are below.
Tripod and Stability
Every frame must be taken from exactly the same place. A heavy studio tripod, a 2-second timer or remote release and, if your camera has it, the electronic or silent shutter keep vibration out of the series. A fan, footsteps or a draught from a window can be enough to shift a frame at 1:1.
Lighting
- Continuous LED: the easiest to set up, because you see the effect live. Lock the white balance manually with a grey card.
- Flash: more power and very short exposures, so less risk of blur from vibration; it must recycle fully before every frame.
- Light tent or large diffusers: even light around small metal and glossy products, without hot spots that move between frames.
Avoid light that changes during the series, such as daylight from a window. Every frame needs the same exposure and white balance, otherwise the software produces patches of different brightness.
Focus Stacking for Jewellery Photography
Jewellery is the most demanding use. A diamond ring photographed at 1:2 and f/8 has about 1.3 mm of depth of field according to Zerene, while the stone alone is several millimetres deep and the band sits behind it. Viewed at full resolution, one frame shows a sharp stone or a sharp band, never both.
Without stacking you either open up and lose the band, or stop down until diffraction softens the whole image, stone included. Stacking ends the compromise: at f/8, which Zerene does not flag for diffraction at 1:2, a ring 20 mm deep needs about 23 frames (about 12 at f/11) to be sharp from the front of the stone to the back of the band.
Camera Settings for Jewellery
| Setting | Value | Why |
|---|---|---|
| Aperture | f/8 to f/11 at 1:2, f/8 at 1:1 | The upper end Zerene suggests for full frame before diffraction |
| Focus step | About 0.9 mm at 1:2, 0.4 mm at 1:1 (f/8) | 0.7 × depth of field, from the calculator above |
| Frames for a ring | About 23 at 1:2, 50 or more at 1:1 | A 20 mm deep ring at f/8 |
| White balance | Manual (grey card) | The same colour of metal in every frame |
| Camera | Manual (M), base ISO, RAW, 2-second timer or remote | Identical exposure in every frame, no vibration |
At marszalstudio, jewellery photography starts at €9 net per photo without retouching; you order online and send the pieces to our studio. For high-end pieces such as diamond rings we stack frames as described above, and that work is quoted individually. If you shoot jewellery yourself, our guide on how to photograph jewellery covers light, reflections and backgrounds.
Best Focus Stacking Software: 2026 Comparison and UK Prices
Two dedicated programs, Helicon Focus and Zerene Stacker, cover most professional work; Photoshop and the free Affinity are enough for occasional stacks. Prices were checked on the vendors’ sites and in their UK stores on 14 November 2026.
| Software | UK price | What you get | Best for |
|---|---|---|---|
| Helicon Focus | Pro about £52 a year or about £191 lifetime, incl. VAT (Lite about £29 a year), converted from US dollars at checkout | Three methods; retouching and batch only from Pro; 30-day trial | Studios stacking many products |
| Zerene Stacker | Professional £226.20 one-off before tax (Personal £69.55) in the UK store; tax is added at checkout | PMax and DMap with retouching; Windows, macOS, Linux; 30-day trial | Fine detail and difficult subjects |
| Adobe Photoshop | £21.98 a month, annual plan paid monthly, incl. VAT | Auto-Align and Auto-Blend Layers; 7-day trial | Occasional stacks in an Adobe workflow |
| Affinity (Canva) | Free | Focus Merge | Occasional stacks on a budget |
| Picolay | Free for non-commercial use | Align and merge; Windows only | Trying the technique |
Helicon and Adobe prices include 20% VAT; Zerene’s UK store adds any tax at checkout, so even before tax its Professional edition costs more than a lifetime Helicon Pro licence.
Helicon Focus: Editions and UK Prices
Helicon Focus is built for volume. It offers three rendering methods, a retouching brush that paints detail in from any source frame, and batch processing. Licences run for one year or for life, and Helicon stresses on its store page that the annual licence is not a subscription and is never renewed automatically.
Helicon sets its prices in US dollars, and the UK checkout converts them to pounds at its own exchange rate (14 November 2026, prices in the table). Lite cannot retouch or batch process, so for product work Pro is the realistic minimum; Premium, about £62 a year or £229 for life, adds Helicon Remote for Android and iOS, which controls Canon, Nikon and some Sony cameras from a phone. The 30-day trial is the full Pro version, and the vendor publishes tutorials for each step.

Zerene Stacker: Licences and Prices
Zerene Stacker is the precision tool. You can stack with PMax and DMap (see above) and then retouch, taking the best parts of each method into one result. Licences are one-off: the Zerene price list gives Personal $89, Prosumer $189 and Professional $289, and its UK store shows £69.55, £147.60 and £226.20, with applicable tax added at checkout.
Under Zerene’s licence terms, the cheaper editions may not be used for any company work or for anything that earns more than the price of a Professional licence, so a shop or a studio should budget for the Professional edition. Zerene’s first tutorial walks through a complete stack.
Focus Stacking in Photoshop
Photoshop stacks with two commands. Adobe’s help gives these steps:
- In Adobe Bridge, select the frames and choose Tools > Photoshop > Load Files into Photoshop Layers.
- In the Layers panel, select all the layers and choose Edit > Auto-Align Layers.
- With the layers still selected, choose Edit > Auto-Blend Layers, set Blend Method to Stack Images and click OK.
Photoshop stacking makes sense if you already pay for Creative Cloud and stack a few times a month. In the UK, Photoshop on its own costs £21.98 a month on an annual plan paid monthly; the Photography plan, which includes Photoshop, Lightroom and Lightroom Classic with 1 TB of storage, is cheaper at £19.97, both including VAT (Adobe UK). These are Adobe’s regular prices, without seasonal offers. To try it before you pay, see our guide to the free Photoshop trial (7 days).

Lightroom and Luminar
Lightroom does not stack by itself. Adobe’s own focus stacking guide sends the frames from Lightroom Classic with Photo > Edit In > Open as Layers in Photoshop and finishes the job there with Auto-Align and Auto-Blend Layers. Lightroom Classic’s own Stacking command only groups similar photos in the Library; it does not merge them.
Luminar Neo (now sold as Luminar for Desktop) merges frames automatically, with fewer decisions to make and less control over the result. According to Skylum support, Focus Stacking is one of the pro tools, formerly sold as extensions, in the Luminar for Desktop subscription. The Skylum page shows how it works.
Free Focus Stacking Software
- Affinity by Canva, the successor to Affinity Photo 2, has been free since 29 October 2025. Stacking is under File > New Image Process > Focus Merge (Affinity help). Affinity’s help describes only the merge itself; painting detail in from individual source frames is a documented feature of Helicon Focus Pro and Zerene Stacker.
- Picolay by Heribert Cypionka: Windows only, free for non-commercial purposes, still updated (version of 11 November 2026).
- focus-stack: open source under the MIT licence, run from the command line; version 1.5 came out on 11 January 2026.
- Enfuse, part of the Hugin panorama tools, can blend a focus stack; its manual calls the hard mask option especially useful for stacks with thin, high-contrast detail, though the hard mask adds noise.
- CombineZP by Alan Hadley: Windows only and not updated since June 2010, so only for experiments.
Camera Focus Bracketing in 2026
Most current mirrorless cameras can shoot the series for you: you focus on the nearest point, set the number of frames and the step, and the camera moves the focus. A few also merge the frames. OM System and Panasonic shoot their in-camera stacks in front of and behind the point you focus on, so with those cameras you focus on the middle of the product. What the manufacturers’ manuals say, as of November 2026:
| Brand (model checked) | Menu name | Frames | Merges in camera? |
|---|---|---|---|
| Canon (EOS R5 Mark II) | Focus bracketing | 2-999 | Yes, Depth composite (JPEG or HEIF, no RAW); the original EOS R5 does not |
| Nikon (Z6III) | Focus shift shooting | up to 300 | No, frames are combined in stacking software |
| Sony (α7R V) | Focus Bracket | 2-299 | No, the manual covers shooting only |
| OM System (OM-1 Mark II) | Focus Stacking, Focus BKT | 3-15 merged, up to 999 bracketed | Yes, JPEG, only with supported lenses |
| Fujifilm (X-T5) | FOCUS BKT (AUTO or MANUAL) | calculated in AUTO; Fujifilm suggests 50 for macro | No, Fujifilm recommends stacking in post-production |
| Panasonic (Lumix S1II, firmware 1.1) | Focus Stacking | not stated | Yes, JPEG or HEIF, edges cropped |
Sources: manuals for the Canon EOS R5 Mark II (and the original EOS R5), Nikon Z6III, Sony α7R V, OM System OM-1 Mark II, Fujifilm X-T5 and Panasonic Lumix S1II, plus the Fujifilm UK learning centre. Check your own model’s manual to see whether it has the feature.
The Step Is Not in Millimetres
The step setting in the camera menu is not a distance. Canon adjusts its focus increment automatically to the aperture, Sony says the step varies with the aperture and the starting focus position, and Panasonic shortens it when the focus point is close. Nikon recommends a step width of 5 or less, and Fujifilm suggests 50 frames, step 5 and no interval as a starting point for macro.
That is why the calculator gives you the number of frames, not a camera setting. Set a small step, shoot a test series and check that the last frame is sharp behind the back of the product. On the aperture the manuals sit in the same range as Zerene’s tables: Canon and Panasonic recommend f/5.6 to f/11, and Nikon a wider aperture (a smaller f-number) than f/8 to f/11. From 1:1, Zerene puts the full-frame limit at f/8, and at 2:1 at f/5.6.
In-Camera Stacking: Quick, with Limits
Merging in the camera saves the trip to the computer but gives up control:
- Canon: Depth composite saves JPEG or HEIF only, and the camera picks which shots to combine rather than using all of them.
- OM System: merges 3-15 frames with supported lenses only and enlarges the result by 7%, so the edges are lost; the older Olympus OM-D E-M1 Mark III works the same way with its own list of supported lenses.
- Panasonic: crops the edges of the merged image; the camera shows the crop as a grey frame while you shoot.
For catalogue work, keep the source frames and stack them on a computer, where you can retouch.
When to Avoid Focus Stacking
Not every photo is better sharp from front to back. In lifestyle shots, portraits and reportage a soft background guides the eye and gives the picture depth; a perfectly sharp frame can look clinical. Anything that moves, from a model to a candle flame, is also hard to stack without ghosts.
Selective Stacking
Stacking does not have to cover the whole frame. Shoot frames only through the depth of the product and leave the background out of the series: the ring stays sharp, the props behind it stay soft.
Common Mistakes in Focus Stacking
- Step too large. Soft bands appear between the sharp zones and cannot be repaired later. Use the calculator and keep the step at about 0.7 of the depth of field.
- Exposure changing between frames. If you shoot the series yourself in aperture priority or with auto ISO, the camera can meter each frame differently, and the stack shows patches. Shoot in manual.
- Vibration. Touching the camera, footsteps or a draught misalign frames. Use a timer or remote release and wait for the set-up to settle.
- A moving subject. A flower in a draught or a product on a loose holder leaves ghosts. Fix the subject before you start.
- Stopping down “to be safe”. At 1:5 and closer, f/16 or f/22 softens every frame through diffraction. Stay within the apertures Zerene suggests for your magnification and shoot more frames.
- Frames out of order. Zerene Systems warns that its depth map method gives degraded results, often with obvious halos, when frames are out of order, even if the image looks fine at first glance.
Focus Stacking FAQ
-
Are focus stacking and focus bracketing the same thing?
No. Focus bracketing is shooting the series, with the focus moved a little for each frame. Focus stacking is merging that series into one image that is sharp from front to back.
-
How many photos do you need for focus stacking?
It depends on magnification, aperture and depth. Ring (20 mm, 1:2, f/8): about 23 frames; stud earring (8 mm, 1:1, f/8): about 21; perfume bottle (60 mm, 1:5, f/11): about 9.
-
How much does Helicon Focus stacking software cost?
At the UK checkout (14 November 2026), Helicon Focus Pro cost about £52 a year or £191 for life, including VAT. Lite was about £29 a year, without retouching.
-
How do I focus stack in Photoshop?
Load the frames as layers, for example from Bridge with Tools > Photoshop > Load Files into Photoshop Layers. Select all layers, run Edit > Auto-Align Layers, then Edit > Auto-Blend Layers with Stack Images.
-
Can Lightroom do focus stacking?
Not by itself. Adobe sends the frames from Lightroom Classic with Photo > Edit In > Open as Layers in Photoshop, and the stacking happens in Photoshop with Auto-Align and Auto-Blend Layers.
-
What is the best free focus stacking software?
Affinity by Canva has been free since October 2025 and merges frames with Focus Merge. Picolay is free for non-commercial use on Windows, and the open-source focus-stack runs from the command line.
-
Which cameras can merge a focus stack in camera?
Canon models with Depth composite (EOS R5 Mark II), OM System cameras with Focus Stacking and the Lumix S1II from firmware 1.1 merge in camera. Nikon, Sony and Fujifilm leave merging to software.
Summary
Focus stacking is the answer whenever a product is deeper than one frame can hold: jewellery, watches, electronics, cosmetics and macro subjects. Work out the step and the number of frames before you shoot, keep the aperture where diffraction does not cost detail, and keep exposure, light and the subject still for the whole series.
For occasional stacks, Photoshop or the free Affinity is enough. For regular work, a dedicated stacker such as Helicon Focus or Zerene Stacker saves time and gives you control over halos and fine detail.

