The wheel–rail contact force is a crucial indicator for ensuring the secure operation of a heavy-load train. However, obtaining the real-time wheel–rail contact force of a heavy-load train is a challenging task as, due to safety considerations, it is not possible to install instrumented wheelsets on heavy-load trains. This work presents a novel approach to quantify the wheel–rail contact force of a heavy-load train, utilizing a cooperative calibration methodology. First, a ground measurement platform for the wheel–rail contact force of a heavy-load train is constructed on a selected rail section. The railway inspection car’s wheel–rail contact force measurement system is fine-tuned using a multilayer perceptron calibration approach, and the ground platform then uses the results to fine-tune the railway inspection car’s examined wheelset. Second, based on actual measured data on the wheel–rail contact force of a heavy-load train, and using the golden jackal optimization algorithm, the multilayer perceptron correction approach is employed to create a data relationship mapping model. This model correlates the corrected data on the wheel–rail contact force obtained from the railway inspection car with the wheel–rail contact force of a heavy-haul train with an axle load of 25 tons, and the precision of the mapping is guaranteed. Finally, by combining the wheel–rail contact force correction method for the railway inspection car and the contact force mapping model between the railway inspection car and the heavy-load train, collaborative calibration of the wheel–rail contact force of the heavy-load train is realized. The experimental results under two working conditions show that this method can realize high-precision, real-time measurement of the wheel–rail contact force of a heavy-load train. For the working condition of a straight-line section, the calibration error was within 1.593 kN, and the MAPE was 0.105%; for the working condition of a curved-line section, the calibration error was 2.344 kN, and the RMSE was 184.72 N.