D chord notes
D Major chord on piano: right hand, root position

Right-hand fingering: thumb (1) on D, middle finger (3) on F#, little finger (5) on A. For the left hand, use 5-3-1 (little finger on the lowest note). The number on each key is the suggested finger; black keys are labeled with the spelling this chord uses.
D chord inversions
An inversion puts a different chord tone in the bass without changing the chord. The D chord has 3 notes, so it has 2 inversions besides root position.
Root position: D
D - F# - A (fingering 1-3-5)

First inversion: D/F#
F# - A - D (fingering 1-2-5)

Second inversion: D/A
A - D - F# (fingering 1-3-5)

Questions about the D chord
What notes are in a D major chord (D)?
The D major chord is spelled D, F#, A. The formula is 1-3-5 counted from the root D.
How do you play D on piano?
In root position, play thumb on D, middle finger on F#, little finger on A with your right hand (fingering 1-3-5). Press the keys together for a block chord or one after another for an arpeggio.
What are the inversions of D?
The D chord has 3 notes, so it has 2 inversions: first inversion (F# A D); second inversion (A D F#).
Which keys contain D?
D is found in 3 major keys, for example V in G major, I in D major, IV in A major.
Sound is synthesised in your browser with the Web Audio API. Nothing is recorded or sent anywhere.