Fit the bill

Meaning: To be suitable for a particular purpose or requirement.

Example: This small laptop fits the bill perfectly for travelling.