A pattern forming method includes determining an allowable value of an
etching conversion difference, obtaining a maximum distance between
patterns generating the etching conversion difference within the
allowable value, the patterns including main patterns or both main
patterns and a dummy pattern, preparing a first design layout in which a
first distance between the main patterns is smaller than the maximum
distance, or a second design layout in which a second distance between
the main patterns and the dummy pattern is smaller than the maximum
distance, performing a design data conversion based on the first or
second design layout to form first or second design data, and forming the
main patterns by using the first design data, or forming both the main
patterns and the dummy pattern by using the second design data.