John M. Hyde, 70, a retired Navy Captain who won the Navy Cross during World War II and who later was a mathematics teacher at James Fenimore Cooper Intermediate School in McLean, died Saturday at Bethesda Naval Medical Center. He had a brain tumor.

Capt. Hyde, born in Flushing, N.Y., graduated from the Naval Academy at Annapolis in 1934 and became a submarine officer. He served in the Pacific during World War II and commanded the submarine Bergall during several war patrols.

In addition to the Navy Cross, the Navy's highest decoration for valor except for the Medal of Honor, Capt. Hyde earned three Silver Star medals for war service.

His later assignments included staff duties, command of a fleet oiler during the Korean conflict, command of a submarine squadron, the Naval War College, from which he graduated, the Air War College, where he was Navy representative on the faculty, and the Industrial College of the Armed Forces in Washington, where he was a member of the faculty at his retirement in 1964.

Capt. Hyde, who lived in Vienna, then became a mathematics teacher at the Cooper Intermediate School and remained there until his second retirement in 1976.

He was a charter member and elder of the Immanuel Presbyterian Church in McLean and a member and former adjutant of the Northern Virginia Chapter of the Military Order of the World Wars.

Capt. Hyde's survivors include his wife, Verna, of Vienna; one son, John C. of Alexandria; one daughter, Lynne Woodbury of Vienna; two sisters, Beatrice Dowse of Syosset, N.Y., and Doris Krombert of Port Washington, N.Y., and one grandchild.

The family suggests expressions of sympathy be in the form of contributions to the American Cancer Society.