Without a capo, the guitar's "key" is determined by its standard tuning:
String 6 (thickest): E₂ (82.41 Hz) String 5: A₂ (110.00 Hz) String 4: D₃ (146.83 Hz) String 3: G₃ (196.00 Hz) String 2: B₃ (246.94 Hz) String 1 (thinnest): E₄ (329.63 Hz)
This is EADGBE (low to high). Open strings form an E minor 11 / G6 chord. The guitar is a transposing instrument—sounds one octave lower than written in treble clef.
Using a capo effectively changes the key by raising all pitches equally.