This work aimed to develop a simple HPLC method for the simultaneous quantitative determination of the ultraviolet (UV) filters, hydrophilic benzophenone-4 and lipophilic octocrylene, in the presence of three other commonly used UV filters, avobenzone, octisalate and homosalate. Reverse-phased HPLC was performed on a C18 column. A scouting gradient was initially used to determine the approximate mobile phase composition required for efficient analyte elution and separation before further optimization. The assay was validated with regard to specificity, linearity, intra- and inter-day accuracy and precision, limits of detection and limits of quantification. An ultrasound dispersion extraction method for the UV filters from a commercial sunscreen was developed, and the extraction efficiencies from spiked samples were calculated. An acetonitrile-methanol-water mixture (20:67:13, v/v/v), where the water component contained 0.2% trifluoroacetic acid (v/v), was found to be the optimal mobile phase at a flow rate of 1.0 mL/min. The assay was linear between 1.0-100 μg/mL for both benzophenone-4 and octocrylene (both correlation coefficients were above 0.999). There was no interference from the excipients of the sunscreen nor from the three other UV filters. The intra- and inter-day accuracy was between 90.0-104.6% for both analytes. Extraction recoveries from a spiked commercial sunscreen were between 95.4 ± 2.1% to 98.5 ± 2.1% for benzophenone-4, and between 87.3 ± 2.3% and 98.9 ± 3.1% for octocrylene. All validation parameters were within the acceptance criteria set out in the International Council for Harmonization (ICH) guidelines. The HPLC assay showed the extracted quantities of benzophenone-4 and octocrylene from the commercial sunscreen closely matched claimed quantities. The developed isocratic HPLC method was suitable for simultaneously determining the hydrophilic benzophenone-4 and lipophilic octocrylene in the presence of other commonly used UV filters. Additionally, the extraction method was simple and effective for accurately quantifying the UV filters in a commercial sunscreen.