Herb calculator