Distribution of electrostatic potential of DNA fragments was evaluated. A method for calculation of electrostatic potential distribution based on Coulomb's law is proposed for long DNA fragments (approximately 1000 nucleotide pairs). For short DNA sequences, this technique provides a good correlation with the results obtained using Poisson-Boltzmann equation thus justifying its application in comparative studies for long DNA fragments. Calculation was performed for several DNA fragments from E. coli and bacteriophage T7 genomes containing promoter and nonpromoter regions. The results obtained indicate that coding regions are characterized by more homogeneous distribution of electrostatic potential whereas local inhomogeneity of DNA electrostatic profile is typical for promoter regions. The possible role of electrostatic interactions in RNA polymerase-promoter recognition is discussed.