Katherine Johnson, a mathematician who calculated rocket trajectories and Earth orbits for Nasa's early space missions and was portrayed in the 2016 hit film <em>Hidden Figures, </em>has died at 101. Johnson died on Monday of natural causes at a retirement community in Newport News, Virginia, family lawyer Donyale Reavis said. Nasa administrator Jim Bridenstine said Johnson “helped our nation to enlarge the frontiers of space even as she made huge strides that also opened doors for women and people of colour". She was one of the “computers” who solved equations by hand during Nasa’s early years and those of its precursor organisation, the National Advisory Committee for Aeronautics. Johnson and other black women initially worked in a racially segregated computing unit in Hampton, Virginia, which was not officially dissolved until Naca became Nasa in 1958. Signs dictated which bathrooms the women could use. Johnson focused on aeroplanes and other research at first. But her work at Nasa's Langley Research Centre eventually shifted to Project Mercury, the nation’s first human space programme. "Our office computed all the trajectories," Johnson told <em>The Virginian-Pilot </em>newspaper in 2012. “You tell me when and where you want it to come down, and I will tell you where and when and how to launch it.” In 1961, Johnson did trajectory analysis for Alan Shepard’s Freedom 7 mission, the first to carry an American into space. The next year, she manually verified the calculations of a new Nasa computer, an IBM 7090, which plotted John Glenn’s orbits around the planet. “Get the girl to check the numbers,” a computer-sceptical Glenn insisted in the days before the launch. "Katherine organized herself immediately at her desk, growing phone book-thick stacks of data sheets a number at a time, blocking out everything except the labyrinth of trajectory equations," Margot Lee Shetterly wrote in her 2016 book <em>Hidden Figures</em>, on which the film is based. “It took a day and a half of watching the tiny digits pile up: eye-numbing, disorienting work." Shetterly said Johnson was “exceptional in every way.” “The wonderful gift that Katherine Johnson gave us is that her story shined a light on the stories of so many other people,” Shetterly said on Monday. “She gave us a new way to look at black history, women’s history and American history.” Johnson considered her work on the Apollo moon missions to be her greatest contribution to space exploration. Her calculations helped the lunar lander to rendezvous with the orbiting command service module. She also worked on the Space Shuttle program before retiring in 1986. Johnson and her co-workers had been relatively unsung heroes of America’s Space Race. But in 2015, President Barack Obama awarded Johnson the Presidential Medal of Freedom, the nation’s highest civilian honour. The book and film followed, telling the stories of Johnson, Dorothy Vaughan and Mary Jackson, among others. Johnson was portrayed in the film by actress Taraji Henson. It was nominated for a Best Picture Oscar and grossed more than $200 million worldwide. In 2017, Johnson was brought on stage at the Academy Awards ceremony to thunderous applause. Jackson and Vaughan died in 2005 and 2008. Johnson was born Katherine Coleman on August 26, 1918, in White Sulphur Springs, West Virginia, near the Virginia border. The small town had no schools for black people beyond Grade 8, she told <em>The Richmond Times-Dispatch </em>in 1997. Each September, her father drove Johnson and her siblings to Institute, West Virginia, for high school and college on the campus of the historically black West Virginia State College. Johnson taught at black public schools before becoming one of three black students to integrate into West Virginia’s graduate schools in 1939. She left after the first session to start a family with her first husband, James Goble, and returned to teaching when her three daughters grew older. In 1953, Johnson started working at the all-black West Area Computing unit at what was then called Langley Memorial Aeronautical Laboratory in Hampton. Her first husband died in 1956. She married James Johnson in 1959. He died last year. The Nasa mathematician is survived by two of her three daughters, six grandchildren and 11 great-grandchildren, Ms Reavis said. Johnson spent her later years encouraging pupils to enter the fields of science, technology, engineering and mathematics. “Just last week, she was giving an interview to a high schooler who wanted to talk to her in French,” Ms Reavis said. “She had two degrees. One in French and one in mathematics.” Looking back, Johnson said she had little time to worry about being treated unequally. “My dad taught us, ‘You are as good as anybody in this town, but you’re no better,’” Johnson told Nasa in 2008. “I don’t have a feeling of inferiority. Never had. I’m as good as anybody, but no better.”