The key inputs to determine compensation are level, role/title, industry, geography
Use tools like levels.fyi and glassdoor to understand what the typical market rate for the job is.