> For the complete documentation index, see [llms.txt](https://fozan.gitbook.io/level/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fozan.gitbook.io/level/methods.md).

# Methods

* [**calculateExperience(level: number): number**](/level/methods/calculateexperience.md)
  * Calculates the total experience required to reach a specified level.
  * **Responsibility**: Returns the total amount of experience required for the specified level based on the base experience and experience multiplier.
* [**calculateLevel(experience: number): number**](/level/methods/calculatelevel.md)
  * Determines the current level based on the current experience.
  * **Responsibility**: Returns the current level based on the provided current experience, base experience, and experience multiplier.
* [**calculateExperienceRemaining(level: number, experience: number): number**](/level/methods/calculateexperienceremaining.md)
  * Computes the remaining experience to reach the next level based on the current level and experience.
  * **Responsibility**: Returns the amount of experience remaining to achieve the next level based on the provided current level, current experience, base experience, and experience multiplier.
* [**calculateExperienceProgress(level: number, experience: number)**](/level/methods/calculateexperienceprogress.md)
  * Calculates the progress towards the next level based on the current level and experience.
  * **Responsibility**: Returns an object with fractional and whole values representing the progress towards the next level based on the provided current level and experience.
