The standard grips this chord is usually shown with.
B5 is B and F#, a power chord. The shape this page opens on is written x24xxx, lowest string first.
Note by note. B is the root and F# is the fifth.

Also written B(no 3rd) or B power chord. The same chord either way; which spelling you meet depends on who wrote the chart.
There are 2 common shapes for B5 on the guitar, and 22 derived voicings in the triad family.
One note away. Change a single note of B5 and you have B (with one note added), Bm (with one note added), Bsus2 (with one note added) or Bsus4 (with one note added).
In which keys. Every note of B5 belongs to C# minor (the ♭VII), D major (the vi), Eb minor (the ♭VI), E major (the V), E minor (the v), F# major (the IV), F# minor (the iv), G major (the iii), Ab minor (the ♭III), A major (the ii), B major (the I) and B minor (the i).
The common shapes, written lowest string first: x24xxx, 799xxx.
Under the hand. None of the shapes for B5 uses an open string, so every one of them is movable; the lowest sits at the 2nd fret. None of them needs a barre. Together they cover the neck from the 2nd fret to the 9th.
Triad. Three notes across one string set. B5 has x244xx, 224xxx, 2244xx, 799xxx, x-9-9-11-x-x, xxx477, xx447x, 7x447x.
What kind of chord this is. B5 is a suspended chord — root and fifth, with a second or fourth where the third would be — or nothing at all. suspended and power chords on every root, and what they are for.
The common shapes and the derived voicings come from different places, and both are explained in where the chords and the theory come from.
Shows each chord the way this style would voice it, and marks which of its alternatives belong to the idiom.