The professional petroleum metering calculation tool of GB/T 1885-1998 national standard is adopted to automatically query the standard density table of the petroleum metering meter, convert the apparent density measured by the petroleum densitometer into the standard density, and calculate the volume correction factor (VCF) at the same time, so as to calculate the standard volume and mass of oil products, which improves the efficiency and calculation accuracy compared with manual query.