He was the younger brother of the zoologist John Edward Gray and the son of the botanist Samuel Frederick Gray.
Był młodszym bratem zoologa Johna Edwarda Graya i synem botanika Samuela Fredericka Graya.