Wanna see how it works with zoom lenses? Instead of a single value, enter the zoom value, e.g.: 18-80

This thing was made to be used. Ratio values based on Wikipedia:Image sensor format. Check the code on GitHub, not my best code but it shipped.