EXIF tag · ExifIFD

AmbientTemperature

(ambient temperature in degrees C, called Temperature by the EXIF spec.)

0x9400
Tag ID (37888 decimal)
ExifIFD
IFD / group
rational64s
Data type
EXIF
Table

What AmbientTemperature means#

(ambient temperature in degrees C, called Temperature by the EXIF spec.)

Read, write and remove it#

# read
exiftool -AmbientTemperature photo.jpg
# write
exiftool -AmbientTemperature="…" photo.jpg
# remove
exiftool -AmbientTemperature= photo.jpg
# all files in a folder, as CSV
exiftool -csv -AmbientTemperature -r ./photos > ambient-temperature.csv

In Python with Pillow:

from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get_ifd(0x8769).get(0x9400)  # AmbientTemperature
print(value)

Frequently asked questions#

What is the EXIF tag ID of AmbientTemperature?

0x9400 (37888 decimal), in the ExifIFD directory.

How do I see AmbientTemperature in a photo?

Run exiftool -AmbientTemperature photo.jpg, or open the file's info panel in Lightroom, Photoshop, Windows (Properties → Details) or macOS Preview (Tools → Show Inspector).

Last updated October 03, 2026 · How we calculate · Sources