WIPO has established an online simulator for Madrid system trade mark applications.
As it’s name suggests, it steps you through the various stages of making an application to obtain protection abroad. It includes a fee calculator (presumably of the official fees).
Try it out here.
Lid dip, Marty.