A computer program for determining a corrected position of an alignment mark on a substrate to be exposed in a lithographic projection apparatus, said computer program comprising a program code, when executed on a computer system, instructs the computer system to perform:
- controlling a measuring tool to measure a position of at least one alignment mark on said substrate overlaid with a layer of deposited material;
- and
- calculating the corrected position of the alignment mark on the basis of the measured position of the alignment mark and a model of a process apparatus involved in a deposition of the layer of deposited material, said model taking into account an amount of deposition of said layer of deposited material.