William Frederick Speck, 64, retired chief of the budget and fiscal division of the Civil Service Commission, died Thursday at Georgetown University Hospital after a stroke.

Born in Evansville, Ind., he held a bachelor's degree from the Illinois Institute of Technology.

From 1935 to 1941, Mr. Speck was with the Works Progress Administration in Chicago.He then was in private-industry for two years before becoming a budget and fiscal officer with the Office of Defense Transportation there.

Mr. Speck joined the CSC in 1945 as a budget and fiscal officer in the Chicago region. He transferred to the Washington offices in 1950 as a budget examiner and became chief of the budget section that same year.

He was named assistant chief of the budget and fiscal division in 1953 but left a year later to become budget officer for the Post Officer Department in Chicago. He rejoined the CSC here in 1956 and retired in 1974.

Mr. Speck was a member of St. Louis Catholic Church in Alexandria and the Woodlawn Country Club.

He is survived by his wife, Madeline Speck of the home in Alexandria; a son, David W., of Reston; three daughters, Carole E. Doster and Patricia L. Speck, both of Alexandria, and Mary Mary J. Merz, of Greeley, Colo.; a brother, Hubert P., of Madison, Ala., and two grandchildren.