The toxic dose of solanine for humans is estimated to be between 2 to 5 mg per kilogram of body weight. Potatoes with solanine levels above 20 mg per 100 grams are considered unsafe for consumption. It is essential to avoid eating green or sprouted potatoes to minimize the risk.