Technological developments have underpinned the increase in accuracy of weather forecasts. In particular, from the mid-1960s the use of increasingly sophisticated numerical models coupled with an enhanced availability of observations have led to modern five-day forecasts being as accurate as one-day forecasts 50 years ago. These developments will be discussed along with how numerical models are used to understand how the climate system works and how it might change in the future.