According to: https://learn.microsoft.com/en-us/sql/sql-server/maximum-capacity-specifications-for-sql-server?view=sql-server-ver15:
50 instances on a stand-alone server.
25 failover cluster instances when using a shared cluster disks as storage.
50 failover cluster instances with SMB file shares as the storage option.