Yes, learn about LUFS. Youlean is a free loudness meter that works well
https://youlean.co/youlean-loudness-meter/ You should literally master for each format you are going to, so depending on what you do, you could end up with several masters, one for CD, another for Spotify, another for radio etc.