1 How well do I want to speak this language? ( or write in this language)
2 How long do I want to learn it in order to reach this level of speaking? (or writing)
In this case, some exams, which check a knowledge of a language, can help you. As a rule, students, who want to take exam or go abroad, study better than others. They have a goal and limited time.