Many computer users for the computer hard disk integer partition calculation method is not very understanding, therefore, today's small series to share about the hard disk integer partition calculation method knowledge, they include: Hard disk integer partition of the general calculation method and hard disk partition integer g calculation formula. Hope everyone will like it!
Computer hard disk
Hard disk Integer partition calculation method general algorithm: Partition size = (partition size-1) x4+1024x partition size.
If the formula is calculated according to the hard disk partition integer g: (X-1) *4+1024*x=y where X is the value of the integer partition you want to get, the unit is G,y is the number you should enter when partitioning, the unit is m,
For example 40gb= (40-1) X4+1024X40=41116MB According to this calculation method:
5g=5136mb
10g=10276mb
15g=15416mb
20g=20556mb
30g=30836mb
40g=41116mb
Within 30G, enter the above data, such as 10G you enter 10276, In Windows Explorer, the display is just 10.00GB, while in the management tool-the Disk Management interface display is 10.04GB, if it is 40G you enter 41116, then the Windows Explorer display just 40.01GB.
Therefore, the above formula is not very accurate.
The most accurate hard disk partitioning algorithm is as follows (from a web search):
The hard disk generally has 255 heads, 63 sectors, so the size of each cylinder is:
512byte x 255 x 63=8225280bytes =7.84423828125 MB
If you want to divide 40GB, then 40X1024MB=40960MB
Requires a cylinder number of 40960÷7.84423828125=5221.66
Takes an integer as 5,222 cylinders
Should divide m number to 5222X7.84423828125=40962.6123046875MB
No matter how many points after the decimal point into 1, that is, 40963mb,windows is considered to be 40GB.
This method is NTFS and FAT32 generic.
The following is an accurate calculation with 10GB to 200GB full 10GB increments:
10GB = 10245MB
20GB = 20482MB
30GB = 30726MB
40GB = 40963MB
50GB = 51208MB
60GB = 61444MB
70GB = 71681MB
80GB = 81926MB
90GB = 92162MB
100GB = 102407MB
110GB = 112644MB
120GB = 122888MB
130GB = 133125MB
140GB = 143362MB
150GB = 153606MB
160GB = 163843MB
170GB = 174088MB
180GB = 184324MB
190GB = 194561MB
This exact partitioning result, shown in the Administrative Tools-Disk Management interface, and Windows Explorer, is an integer, and 10G is either 10.00gb,20g or 20.00gb,40g or 40.00GB.