A general range/efficiency calculator. Pin a value to fix it. One value is always fixed.
KM can be used instead of miles - just ignore the units.
The UK and EU (not sure about other countries) use different efficiency measures. This tool lets you convert between them.