In thein vitro evaluation of Sun Protection Factor (SPF), the photostability of the ultraviolet (UV) filters can have a major impact, especially for high-SPF formulations, but is generally not taken into consideration. In this study, we present a UV transmission spectrum measurement system utilizing a high-sensitivity UV photomultiplier tube with concomitant evaluation of photostability. We have developed an algorithm to estimate SPF in vitro by converting the amount of UV light transmission through the sunscreen layer into cumulative relative erythema effectiveness to obtain one minimal erythema dose. Thus, the algorithm uses the same endpoint as in vivo SPF methods, but with a photomultiplier tube as the detector instead of skin. The values obtained showed an excellent correlation with in vivo SPF values, even for high-SPF sunscreens exceeding SPF 50. This method should be suitable as an in vitro SPF testing method for regulatory purposes.