Patent ID: 8859997

Claim:
A charged particle beam writing apparatus comprising: a measurement unit configured to measure a plurality of height positions of a substrate to be written; a height distribution correction unit configured to input a position dependent height distribution that is obtained by converting each position error of a pattern generated depending on each corresponding writing position of the substrate into a value in a height direction, and to add the position dependent height distribution to a height distribution that is obtained based on the plurality of height positions, to generate a corrected height distribution of the substrate, wherein the each position error of the pattern includes a component depending on each corresponding writing position of the substrate, and excludes a component depending on each corresponding writing time for the substrate; a deflection shift amount calculation unit configured to calculate a deflection shift amount of a pattern to be written by using the corrected height distribution; a deflection amount calculation unit configured to calculate a deflection amount for deflecting a charged particle beam to a position where a calculated deflection shift amount has been corrected; and a writing unit configured to write a pattern on the substrate by deflecting the charged particle beam by a calculated deflection amount.