Minimum clearance between two traces that have a potential difference of 1000VDC
The IPC-2221 standard has this information for you. There is a table, and numerous calculators have been developed so that you can simply plug in your information and it gives you the answers. Here is one such table and here is one such calculator.

Table:



Calculator (image only):