How to calculate your potential salary with the median formula

How to calculate your potential salary with the median formula
Jobstreet content teamupdated on 28 July, 2025
Share

When you're applying for a job, it's important to understand the typical earning level for the role. Relying on average salary can be misleading because extremely high or low figures may skew the results.  

Knowing the median salary can also strengthen your position in salary negotiations by helping you understand your worth and set realistic expectations. 

This article will guide you through interpreting and calculating the median in job salaries, covering these topics: 

woman at a home office with notepad and coffee cup reviewing a tablet

What is the median? 

The median refers to the middle value in a set of statistical data when it's arranged in ascending order. If there's an odd number of values, the median is the one in the middle. If there's an even number of values, the median is the average of the two middle numbers. 

The median is important in statistical analysis because it reduces the impact of extraordinarily low or high numbers, reflecting the data's centre more accurately. When it comes to salary data, some professionals may earn a lot more or less than others, which can distort the average, or mean, when all salaries are added and divided equally. Using the median gives you a clearer picture of what most people in an industry earn. For example, the mean monthly salary in Malaysia is around RM52,00, while the median salary is RM3,045.  The median figure provides a more realistic view of income levels, showing that half of Malaysian workers earn less than RM5,790, and the other half earn more. 

While knowing the median salary helps job seekers better understand how much they should reasonably negotiate for, it's also useful for employers. It helps them identify any income disparities and set fairer wages for employees. 

The median formula explained 

Here's a step-by-step guide to how you can use the median formula to find an accurate depiction of salary data: 

Arrange the data in ascending order 

The first step to finding the median is to arrange your entire data set in ascending order. This makes it easier to locate the middle value. For example, suppose you have the following set of numbers: 45, 92, 75, 108, 12, 34, 82, 25, and 57. In ascending order, the sequence becomes: 12, 25, 34, 45, 57, 75, 82, 92, 108. 

Find the middle value for odd-numbered datasets 

The next step in finding the median is to identify the middle value. If you have an odd number of values, finding the median in this data set will be easy – just locate the number in the middle. For example, there are nine values in this data set: 12, 25, 34, 45, 57, 75, 82, 92, 108. The median is 57, as it sits at the centre of the ordered list. 

Find the middle value for even-numbered datasets

If your data set has an even number of items, you can still easily find the median value. Since there's no single middle number, you'll need to add the two middle values together and divide the result by two. For example, there are ten values in this data set: 12, 25, 34, 45, 57, 64, 75, 82, 92, 108. The two middle numbers are 57 and 64. Add them together (57 + 64 = 121) and divide by 2 to get a median (121 / 2 = 60.5). So, the median is 60.5. 

Applying the median formula to Malaysian salary data 

Now that you know how to calculate the median value in a data set, here's an example using salary data. Suppose there are seven professionals in the marketing industry with the respective monthly salaries of RM2,150, RM3,340, RM4,430, RM5,750, RM6,100, RM7,310 and RM8,500. Since the median value in a data set is the middle value, the median of these seven salaries is RM5,750. To calculate the mean of this salary dataset, you would add all the values together and divide them by seven, which would give you RM5,368.57. 

While the mean and median of these salaries are close, the median is higher. In this instance, when applying for a marketing role, you could negotiate for a salary that is around RM5,750 or higher to ensure that you're paid fairly, as compared to the lower amount of RM5,368.57. 

Median salaries in different sectors in Malaysia

While using the median salary formula can help you evaluate how much you should ask for when applying for a job, it's also important to know that these salaries may differ greatly in different industries, even for similar job roles. For example, if you're looking for a role as an analyst, the median monthly salary in various industries may look like this: 

This difference is due to several factors, including variations in job responsibilities for analysts across the three sectors and the demand for the role within each industry. The median annual salary can also vary across different industries in general: 

Median salaries across different experience and education levels in Malaysia 

In addition to knowing the median salary across industries, it's essential to understand the median salary among different experience levels. This can help you set realistic salary expectations based on your work history. For example, the median salary for a fresh graduate could be around RM62,030, but the median salary increases as you climb up the career ladder. Here are the average increases by years of experience: 

  • two to five years: 32% higher 
  • five or more years: 36% higher 
  • 10 or more years: 21% higher 
  • 15 or more years: 14% higher 

You can apply the same logic to your level of education. Median salaries for high school graduates will likely be lower than for professionals who hold a tech diploma or college degree. If you're looking to advance in your career, you can also pursue further education to grow professionally. 

man on laptop with graphs and diagrams in the background

Interpreting median salary data in job listings 

When looking for a job, watch for the median salary data in job listings to set a benchmark for yourself. You can refer to news articles and yearly salary reports to get a good idea of where you stand. Here are some tips: 

Compare your skills and experience to the median 

When looking at a job listing or salary report, check the median salary for your industry or job title, then compare your experience level against the median. The median salary will be different depending on whether you're seeking an entry-level, midlevel, or senior position. If you have any industry certifications or additional skills such as cloud computing or linguistics, this can also push your salary expectations further. 

Justify a salary above or below the median 

There are a few factors that may get you a salary above the median rate, such as: 

  • more years of experience 
  • certifications or specialised skills, such as the PMP or CPA 
  • experience in a high-demand field, such as tech and engineering 
  • living in a city with a high cost of living, such as Kuala Lumpur 

On the flip side, there are also a few factors that may get you a salary below the median rate, including: 

  • having an entry-level job 
  • living in a city with low cost of living, such as Kelantan 
  • getting a role in a nonprofit or startup company 
  • lacking in-demand skills 

Check the salary data in different cities 

The cost of living in an area can affect the median salary. To help you better understand its impact, here are the average salaries from major cities in Malaysia: 

  • Kuala Lumpur: RM7,160 
  • Johor Bahru: RM6,660 
  • Kota Kinabalu: RM6,560 
  • Kuching: RM6,420 
  • Petaling Jaya: RM6,960 
  • Ipoh: RM7,070. 

Use median salary data in employment negotiations 

If you're discussing your salary expectations with a potential employer, you could use the median salary data to help back up your request for a higher salary. Make sure to cite official statistics, such as those at the Department of Statistics Malaysia, when citing the median salary data. It's also important to be professional; demanding a high salary may appear rude.  

Here's an example of what you could say: "I understand that the median salary for this role is around RM4,450 based on official salary data. With my years of experience and achievements in this specialisation, my salary expectations for this role would be around RM4,500 to RM5,000." 

Limitations of the median formula 

While using the median formula can help you assess your income, it should be a guideline and not a strict rule to adhere to. While preferred over the mean, outliers can still affect median calculations. This could happen in industries with narrow salary bands, where the data sets are too small to get a plausible median salary.  

The median salary can be skewed if the sample isn't diverse enough, such as only taking numbers from cities with a high cost of living and not from less-developed cities. Another major factor that could affect the median salary is the income disparity in Malaysia. With the highest earners getting almost six times as much as the lowest earners, the large income gap can significantly skew the median salary. 

When you're evaluating your job offers, consider these other factors on top of the median salary: 

Benefits: 

Companies may offer you similar salaries, but the total compensation may differ greatly. For example, Company A may offer you a lower base salary but include multiple benefits, such as flexible hours, medical insurance, or even high bonuses. Company B may offer you a higher base salary but might have limited benefits. When comparing both offers, Company A may end up having the better overall package. 

Job responsibilities 

 Similar job titles may have varying job descriptions. Study the job description to understand what's expected of the role you're applying for before setting your salary expectations. A finance executive's role responsibilities may differ between two companies, with one only handling administrative tasks and the other requiring more advanced work, such as payroll and budget analysis. 

Cost of living 

Median salary may also differ greatly depending on where you live. If you're in a high-cost-of-living city such as Johor Bahru or Kuala Lumpur, you can expect to get a higher salary compared to cities such as Ipoh or Kuching, which require less to live on. 

Leveraging median salary data in your Malaysian job search 

Understanding the median formula in statistics can help you set realistic salary expectations. While you can use it as a starting point for salary negotiations, you should use the median salary as a guideline rather than a fixed standard. It's important to stay updated on salary trends in your field and consider other factors when evaluating job opportunities in Malaysia. With this knowledge, you'll be able to make informed career decisions as you search for your next role. 

FAQs 

Here are some answers to frequently asked questions about the median salary in Malaysia: 

  1. What are the latest median salary statistics for Malaysia? 
    ⁠As of June 2024, Malaysia's median monthly wage is RM5,790. This is a 5.6% increase from 2023
  2. How does the median salary in Malaysia compare to other Southeast-Asian countries? 
    Malaysia currently ranks fourth for average salary in Southeast Asia. Singapore is currently first, followed by Thailand and then Brunei. 
  3. What are the step-by-step instructions for calculating the median using Excel or Google Sheets? 
    ⁠To calculate the median using Excel or Google Sheets, type each data value in a cell within a column. As an example, type 10 values into cells 1–10 in column A. Use the formula =MEDIAN(A1:A10), then click on 'Enter'. 
  4. What are the current median salaries for popular jobs in Malaysia? 
    ⁠The current median salaries for popular roles in Malaysia include: 
    software engineer: RM4,200-RM6,000 
    accountant: RM4,100–RM6,600 
    marketing executive: RM3,100–RM4,300 
    human resources manager: RM6,300–RM8,800 
    sales manager: RM5,700–RM8,200 
  5. What are some reliable sources for finding up-to-date salary data in Malaysia? 
    ⁠You can find up-to-date salary data from these sources: 
    Department of Statistics Malaysia 
    JobStreet Salary Report 
    Randstad Malaysia Salary Guide 
  6. What factors can cause significant variations in median salaries within the same industry? 
    ⁠There are several factors that can cause variations in median salaries within the same industry, including: 
    ⁠your years of experience 
    ⁠your educational background 
    ⁠the size of the company 
    ⁠your location 
    ⁠your specialisation 
  7. How do bonuses and other compensation affect median salary calculations in Malaysia? 
    ⁠Median salary calculations typically use the base salary and do not include bonuses or allowances. If you're working for a company that offers these perks, your overall package can be significantly higher. 

Top search terms

Want to know what people are searching for on Jobstreet? Explore our top search terms to stay across industry trends.

Subscribe to Career Advice

Get expert career advice delivered to your inbox.
By providing your personal information, you agree to the Collection Notice and Privacy Policy. If you are under 18 years old, you must have parental consent for Jobstreet and affiliates to process your personal data. You can unsubscribe at any time.