424B2 EX-FILING FEES 0000895421 333-275587 0000895421 2024-09-23 2024-09-23 iso4217:USD xbrli:pure xbrli:shares

EX-FILING FEES

CALCULATION OF FILING FEE TABLES

S-3

MORGAN STANLEY

Narrative Disclosure

The maximum aggregate offering price of the securities to which the prospectus relates is $10,000,000.00. The prospectus is a final prospectus for the related offering.