"Storm!" is an app which calculates the distance of lightning storm from your location, based on physics facts.
once you see the lightning press on "lightning" button then press on "Thunder" button once you hear the thunder sound.
The app will give you your approximate distance from the lightning storm.