Multispectral acquisition is an important technique for MRI near metal. It is critical to estimate the field map and correct for displacements among bin images before bin combination in order to eliminate blurring. However, current field-estimation methods are either susceptible to noise or are computationally intensive, limiting their clinical applications. We propose a robust and efficient algorithm for calculating the field map from multispectral datasets based on a previous matched-filter field estimation technique. The proposed technique was tested on a digital phantom and generated accurate field maps and high quality images with a very short calculation time.