I had to look this up. I'm doing my master's in computer science at ETH Zurich, where it is ranked #5 globally according to THE [1], and I pay 804 CHF (874 USD) per semester, i.e. 1608 CHF (1,748 USD) per year. I just had to check MIT's tuition.
> The median annual price paid by an undergraduate who received an MIT Scholarship was $12,715 in the 2022–2023 academic year. [2]
You're basically right, MIT (ranked #3) is almost eight times more expensive than ETH (ranked #5). To be clear though, ETH Zurich is in Switzerland, which is not in the EU.
---
[1] https://www.timeshighereducation.com/world-university-rankin...
[2] https://mitadmissions.org/afford/cost-aid-basics/access-affo...