Earlier quoted context omitted.
I have a macro lens in my hands and a stabilized sensor camera. I can take a picture of the crown of my watch with a fair amount of detail. You have a 4mm lens at f/2. To get the same depth of field you'd need a 50mm lens at f/25, not f/512. You don't need to use a 50mm lens though. Macro lenses are typically 24mm or so. So you need to shoot at F12 to have the same depth of field in reality, certainly not f/512... An…
"You have a 4mm lens at f/2. To get the same depth of field you'd need a 50mm lens at f/25, not f/512." Humorously years back I had authored a giant depth of field essay with online calculators specifically because so many people just couldn't understand why their iPhone couldn't get bokeh. Yes, f/512 would be the impossible equivalent. This is easily calculated. Regardless, the lens Apple uses for macro mode has a 1…
Also yes, the wide angle of the iPhone 13 is much smaller. Just stop down even further then.
Cheap macro lenses in 2021 are typically around 24mm. I'm talking about the Mitakons and the Laowas of the world.
Focus stacking is needed when you're trying to take very high detail pictures with 60, 70, 90mm lenses on high resolution sensors. You don't need anywhere near as much to take an image with the same magnification as a 13mm equiv. 2cm away.