Daniel Nicol Logan, 81, a retired Navy captain and a partner in a Washington brokerage firm, died of congestive heart failure Sunday at the Bethesda Naval Hospital.

Capt. Logan's naval career extended from 1919, when he graduated from the Navy's flight school at Pensacola, Fla., with an ensign's commission and a pilot's wings, until his retirement in 1954.

He has served as a test pilot during his early flying days. In the 1930s, while stationed in Washington, he earned a law degree from National Law School and was admitted to the bar, although he never practiced. During World War II, he commended the escort carrier Cabot and fought in the Battle of the Coral Sea, the Philippines, and elsewhere in the Pacific. After the war, he was U.S. naval attache to Britain.

From 1954 to 1959, Capt. Logan was assistant to the president of the Chance-Vought Aircraft Co. in Dallas. He returned to Washington in 1959 and joined the brokerage firm of Birely & Co. A year later, he joined Lang & Co., another brokerage firm which he became a partner in 1964. He remained a partner until his death.

Capt. Logan was a founder of the Carabao Society, an organization of veterans who has served in the Philippines. He also was a member of the Army Navy Club in Washington and the Columbia Country Club. He was a 32nd degree Mason of the Scottish Rite.

Survivors include his wife, Ruth Bissell Logan, of the home in Chevy Chase.