Inserted: 30 aug 2018
Last Updated: 30 aug 2018
We study the conservation of energy for inhomogeneous incompressible and compressible Euler equations in a torus or a bounded domain. We provided sufficient conditions for a weak solution to conserve the energy. The spatial regularity for the density is only required to have the order of $2/3$ and when the density is constant, we recover the existing results for classical incompressible Euler equation.