Entanglement entropy is a statistical entropy measuring information loss due to coarse-graining corresponding to a spatial division of a system. In this paper we construct a thermodynamics (entanglement thermodynamics) which includes the entanglement entropy as the entropy variable, for a massless scalar field in Minkowski, Schwarzschild and Reissner-Nordström spacetimes to understand the stati...