Hi
How many CPU and it's just one server ?
You need to licence each physical core, and you need to cover the 20 VM.
In your situation you might be more winning by using a datacenter licence, as it dont have a maximum number of VM you can on your host.
You can try the calculator there; https://techlibrary.hpe.com/us/en/enterprise/servers/licensing/index.aspx. I tried the simulator with 4 CPU x 24 cores (For a total 96 cores).
In standard;
Base License Required
Windows Server® Standard (16 core) 1
Additional Cores To Be Licensed 80
Additional Licenses Required for Compliance
Windows Server® Standard Additional License APOS (16 core) 5
Windows Server® Standard Additional License APOS (4 core) 0
Windows Server® Standard Additional License APOS (2 core) 0
To License Additional Virtual Machines (VM's)
Note: 2 VMs are included in the Standard Base License once all physical cores are properly licensed.
VM's included when all cores are licensed 2
Additional VM's desired
Total VM's 20
Additional cores required to license additional VM's 864 additional cores need to be licensed
Note: Additional VMs/OSEs can be added in increments of 2 VMs/OSEs by re-licensing the total number of cores in the Server
Additional Core Licenses Required
Windows Server® Standard Additional License APOS (16 core) 54
Windows Server® Standard Additional License APOS (4 core) 0
Windows Server® Standard Additional License APOS (2 core) 0
In datacenter;
Base License Required
Windows Server® Datacenter (16 core) 1
Additional Cores To Be Licensed 80
Additional Licenses Required for Compliance
Windows Server® Datacenter Additional License (16 core) 5
Windows Server® Datacenter Additional License (4 core) 0
Windows Server® Datacenter Additional License (2 core) 0