STP cost short mode

STP uses two methods for calculating link costs. Costs conforming to short mode have the following values:

Data rateSTP cost
4 Mbps250
10 Mbps100
16 Mbps62
100 Mbps19
1 Gbps4
2 Gbps3
10 Gbps2

These values are based on the original IEEE 802.1D-1998 standard.

For long mode STP costs, take a look at STP cost long mode

Links:

https://www.ciscopress.com/articles/article.asp?p=2832407&seqNum=4#:~:text=As%20shown%20in%20Table%203,a%20port%20cost%20of%20100.