Methods and systems are provided for reducing errors in estimated fuel rail pressure incurred at the time of a scheduled injection event due to engine-driven cyclic fuel rail pressure changes. In one example, a pulse-width commanded during a scheduled injection event is determined as a function fuel rail pressure samples collected over a moving window that is customized for the corresponding fuel injector. In another example, the commanded pulse-width is determined as a function of an average fuel rail pressure sampled during a quiet zone of injector operation and predicted fuel rail pressure altering events occurring between the quiet zone and the scheduled injection event.