How this works
The 500 rule divides 500 by your full-frame equivalent focal length. It dates from film and lower-resolution sensors, so on a modern camera its stars usually look stretched when you zoom in.
The NPF rule, developed by Frédéric Michaud, adds aperture (N), pixel size (P) and focal length (F): time = (16.856 × N + 0.0997 × F + 13.713 × P) ÷ F, for pinpoint stars at 100% zoom. It assumes the worst case, stars on the celestial equator, which move fastest; aim closer to the celestial pole and you can expose a little longer. The preview moves stars at the sidereal rate (15.04″ per second) across pixels of your camera's size, at 100% zoom.