it depends on your commitment /usage /and patience
Explanation:
you will need to use the language for example talk to people and write simple essays. you can even get groceries with these writings and try to read what is written.
keep in mind that Mandarin (Chinese ) is one of the most complicated languages to learn and that it can take years to perfect it