The scalar curvature for noncommutative four tori T 4 Θ , where their flat geometries are conformally perturbed by a Weyl factor, is computed by making the use of a noncommutative residue that involves integration over the 3-sphere. This method is more convenient since it does not require the rearrangement lemma and it is advantageous as it explains the simplicity of the final functions of one and two variables, which describe the curvature with the help of a modular automorphism. In particular, it readily allows to write the function of two variables as the sum of a finite difference and a finite product of the one variable function. The curvature formula is simplified for dilatons of the form sp, where s is a real parameter and p ∈ C ∞ (T 4 Θ ) is an arbitrary projection, and it is observed that, in contrast to the two dimensional case studied by Connes and Moscovici, J. Am. Math. Soc. 27(3), 639-684 (2014), unbounded functions of the parameter s appear in the final formula. An explicit formula for the gradient of the analog of the Einstein-Hilbert action is also calculated. C 2015 AIP Publishing LLC. [http://dx