So you need $20,000 funds per year plus tuition fee. If your course is a 2 year program then you need a fund of $40,000 plus tuition fee
Here's the link for the computation.
https://www.canada.ca/en/immigration-refugees-citizenship/services/study-canada/study-permit/get-documents.html