The Rags DOF Calculator tells you the size of the Airy disc (the COC that diffraction limits you to) so you can work it out... to focus from 30m to 400m @ f8 with COC = 0.03 you need to stack about 8 images... and this is the street outside my house, not a hypothetical situation.
All the formulae are available in Merklinger or on Wikipedia, and I can create an Excel spreadsheet on my laptop and download it into my Nokia phone - can you not do that with yours?
I ignore print size when taking photographs, as I might want to print it 6 foot tall, an my standard print size is 18 * 24" @360 ppi.
Yeah, I've used the same DOF calculator, and while clunky it has some of the best feature sets available.
I have an Android phone which has a pretty good
Photo Tools app, which allows for customized CoC, among other things. I've added a setting for 4x5" LF printed at 20x24", for example. It doesn't have a diffraction calculator, but the thresholds are pretty easy to memorize.
It would be nice if someone would program an all-inclusive DOF calculator, which would take everything from aperture, focal length, sensor size/film format, diffraction and print size/viewing distance into account, without having to use different calculators for them.