| Last updated
The calculator is named Risk Evaluation for Support: Predictions for Elder-Life in the Community Tool (RESPECT), and the scientists behind it used data from more than 491,000 older adults who had been given five years or less to live.
It asked them about various health conditions and kept track of them between 2013 and 2017, to try to understand the needs and health care plans of elderly people. They hope it will improve health care services in the future.
Users just needed to answer a few simple questions, which include any long term health problems including dementia, stroke or hypertension.
It also asked if they had any unexplained weight loss or if they had lost their appetite or experienced swelling.
You can use the calculator yourself here.
Bear in mind the calculator is specifically for people likely to die within the next five years who are currently using or need home care.
Dr Amy Hsu, an investigator at the Bruy re Research Institute and at the University of Ottawa in Canada, told the Daily Star: "The RESPECT calculator allows families and their loved ones to plan.
"For example, it can help an adult child plan when to take a leave of absence from work to be with a parent or decide when to take the last family vacation together."
Dr Peter Tanuseputro, of Ottawa Hospital, said: "Knowing how long a person has to live is essential in making informed decisions about what treatments they should get and where they should get them.
"As a person gets closer to death, the balance shifts from having curative care as the primary goal, to care that maximises a person's quality of remaining life."
The research is shown in the Canadian Medical Association Journal.
And from one grim calculator to another - there's now one that uses scientific data to work out just how many sexual partners you've been indirectly exposed to.
Zava is an online tool asks how many people you have slept with, and then estimates how many partners you've been exposed to based on the number of your sexual partners, and the average number of partners they've had before you.
Basically, the calculator works out the number of people you've been exposed to within six degrees of connection.
The above example is based on someone from Manchester, UK, having five sexual partners with each partner having an average of nine themselves.
According to the calculator, that would mean you'd be indirectly exposed to 332,150 partners which equates to 100 percent of the population of Hull...
However it does also average out to around 13 percent of the population of Manchester itself.
More than you'd thought, eh?
Chosen for YouChosen for You
Most Read StoriesMost Read