---
title: "Filter Basics 11: What Are S-Parameters and What Can They Tell Us About a Filter?"
description: This post covers information on what S-parameters can tell you about a filter’s performance.
image: https://blog.knowlescapacitors.com/hubfs/Filter%20Basics%2011.png
---

[![Knowlescapacitors](https://blog.knowlescapacitors.com/hubfs/Knowlescapacitors_September2018/Images/knowlesPDWhite250w.png)](http://www.knowlescapacitors.com/)

- Capacitors 
    - [Capacitor Overview](https://www.knowlescapacitors.com/Products/Capacitors)
    - [Aerospace & Defense](https://www.knowlescapacitors.com/Products/Capacitors/Aerospace-and-Defense)
    - [High Q](https://www.knowlescapacitors.com/Products/Capacitors/High-Q)
    - [SMD Capacitors](http://www.knowlescapacitors.com/Products/Capacitors/SMDCap.aspx)
    - [MLCCs with Leads](http://www.knowlescapacitors.com/Products/Capacitors/Leaded-MLC-s.aspx)
    - [Single Layer Capacitor](http://www.knowlescapacitors.com/Products/Capacitors/Single-Layer-Capacitor.aspx)
    - [AEC-Q200](http://www.knowlescapacitors.com/Products/Capacitors/AEC-Q200.aspx)
    - [Broadband Blocks](http://www.knowlescapacitors.com/Products/Capacitors/Broadband-Blocks.aspx)
    - [Capacitor Assemblies](http://www.knowlescapacitors.com/Products/Capacitors/CAP-Assemblies.aspx)
    - [Trimmer](http://www.knowlescapacitors.com/Products/Capacitors/Trimmer.aspx)
    - [Aluminum Capacitors](https://www.cde.com/capacitors/aluminum-electrolytic/)
    - [Film Capacitors](https://www.cde.com/capacitors/film-paper-film-capacitors/)
    - [Supercapacitors](https://www.cde.com/capacitors/ultracapacitors/)
- RF and Microwave 
    - [RF & Microwave Overview](https://www.knowlescapacitors.com/Products/Microwave-Products)
    - [Filter Technology](https://www.knowlescapacitors.com/Products/Microwave-Products/Filter-Technology)
    - [5G Filters](https://www.knowlescapacitors.com/Products/Microwave-Products/5G-Filters)
    - [Bandpass Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Bandpass-Filters.aspx)
    - [Lowpass Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Lowpass-Filters.aspx)
    - [Highpass Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Highpass-Filters.aspx)
    - [Cavity Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Cavity-Filters.aspx)
    - [Couplers](http://www.knowlescapacitors.com/Products/Microwave-Products/Couplers.aspx)
    - [High Frequency RF Crossover](https://www.knowlescapacitors.com/Products/Microwave-Products/RF-Crossover)
    - [Custom Design Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Custom-Design-Filters.aspx)
    - [Gain Equalizers](http://www.knowlescapacitors.com/Products/Microwave-Products/Gain-Equalizers.aspx)
    - [Power Dividers](http://www.knowlescapacitors.com/Products/Microwave-Products/Power-Dividers.aspx)
    - [Resonators](http://www.knowlescapacitors.com/Products/Microwave-Products/Resonatros.aspx)
    - [Ceramic Resonators](https://www.knowlescapacitors.com/Products/Microwave-Products/Ceramic-Resonators)
    - [Bias Filter Networks](http://www.knowlescapacitors.com/Products/Microwave-Products/Bias-Filter-Networks.aspx)
    - [SatCom Products](https://www.knowlescapacitors.com/Products/Microwave-Products/SatCom-Products)
    - [Self Bias Networks](http://www.knowlescapacitors.com/Products/Microwave-Products/Self-Bias-Networks.aspx)
- EMI 
    - [EMI Overview](https://www.knowlescapacitors.com/Products/EMI)
    - [EMI Filters](https://www.knowlescapacitors.com/Products/EMI/EMI-Filters)
    - [Planars and Discoidals](https://www.knowlescapacitors.com/Products/EMI/Planars-and-Discoidals)
- Non Magnetic 
    - [Non-Magnetic Overview](https://www.knowlescapacitors.com/Products/Non-magnetic-Components)
    - [Non-Magnetic Hardware](http://www.knowlescapacitors.com/Products/Non-magnetic-Components/Hardware.aspx)
    - [Non-Magnetic Inductors](http://www.knowlescapacitors.com/Products/Non-magnetic-Components/Inductors.aspx)
    - [Non-Magnetic MLC's](http://www.knowlescapacitors.com/Products/Non-magnetic-Components/Non-Magnetic.aspx)
    - [Non-Magnetic Trimmers](http://www.knowlescapacitors.com/Products/Non-magnetic-Components/Trimmers.aspx)
- Thin Film and Substrates 
    - [Heatsinks & Standoffs](https://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Heatsinks-Standoffs)
    - [Mounting Shorts](https://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Mounting-Shorts)
    - [Submounts](https://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Submounts)
    - [Build to Print](https://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Build-To-Print)
    - [Substrates](http://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Substrates.aspx)

- Solutions 
    - [SatCom Products](https://www.knowlescapacitors.com/Solutions/SatCom-Products)
- [Contact](http://www.knowlescapacitors.com/Contact.aspx)
- [Careers](https://www.knowles.com/careers)
- [Company](http://www.knowlescapacitors.com/Company.aspx)
- Support 
    - [Blog](https://blog.knowlescapacitors.com/blog)
    - [Catalogs](http://www.knowlescapacitors.com/Support/Catalogs.aspx)
    - [Video FAQs](https://info.knowlescapacitors.com/videos)
    - [Capacitor Basics](https://info.knowlescapacitors.com/knowles-precision-devices-capacitor-basics)
    - [Build To Print Basics](https://info.knowlescapacitors.com/build-to-print-basics)
    - [Filter Basics](https://info.knowlescapacitors.com/filter-basics)
    - [Design Tools](http://www.knowlescapacitors.com/Support/Design-Tools.aspx)
    - [Quality](https://www.knowlescapacitors.com/Support/Quality)
    - [Resources](http://www.knowlescapacitors.com/Support/Resources.aspx)
- [LOGIN](http://www.knowlescapacitors.com/Special-Pages/Login.aspx)
- <http://www.knowlescapacitors.com/Search.aspx>

- Capacitors 
    - [Capacitor Overview](https://www.knowlescapacitors.com/Products/Capacitors)
    - [Aerospace & Defense](https://www.knowlescapacitors.com/Products/Capacitors/Aerospace-and-Defense)
    - [High Q](https://www.knowlescapacitors.com/Products/Capacitors/High-Q)
    - [SMD Capacitors](http://www.knowlescapacitors.com/Products/Capacitors/SMDCap.aspx)
    - [MLCCs with Leads](http://www.knowlescapacitors.com/Products/Capacitors/Leaded-MLC-s.aspx)
    - [Single Layer Capacitor](http://www.knowlescapacitors.com/Products/Capacitors/Single-Layer-Capacitor.aspx)
    - [AEC-Q200](http://www.knowlescapacitors.com/Products/Capacitors/AEC-Q200.aspx)
    - [Broadband Blocks](http://www.knowlescapacitors.com/Products/Capacitors/Broadband-Blocks.aspx)
    - [Capacitor Assemblies](http://www.knowlescapacitors.com/Products/Capacitors/CAP-Assemblies.aspx)
    - [Trimmer](http://www.knowlescapacitors.com/Products/Capacitors/Trimmer.aspx)
    - [Aluminum Capacitors](https://www.cde.com/capacitors/aluminum-electrolytic/)
    - [Film Capacitors](https://www.cde.com/capacitors/film-paper-film-capacitors/)
    - [Supercapacitors](https://www.cde.com/capacitors/ultracapacitors/)
- RF and Microwave 
    - [RF & Microwave Overview](https://www.knowlescapacitors.com/Products/Microwave-Products)
    - [Filter Technology](https://www.knowlescapacitors.com/Products/Microwave-Products/Filter-Technology)
    - [5G Filters](https://www.knowlescapacitors.com/Products/Microwave-Products/5G-Filters)
    - [Bandpass Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Bandpass-Filters.aspx)
    - [Lowpass Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Lowpass-Filters.aspx)
    - [Highpass Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Highpass-Filters.aspx)
    - [Cavity Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Cavity-Filters.aspx)
    - [Couplers](http://www.knowlescapacitors.com/Products/Microwave-Products/Couplers.aspx)
    - [Custom Design Filters](http://www.knowlescapacitors.com/Products/Microwave-Products/Custom-Design-Filters.aspx)
    - [Gain Equalizers](http://www.knowlescapacitors.com/Products/Microwave-Products/Gain-Equalizers.aspx)
    - [Power Dividers](http://www.knowlescapacitors.com/Products/Microwave-Products/Power-Dividers.aspx)
    - [Resonators](http://www.knowlescapacitors.com/Products/Microwave-Products/Resonatros.aspx)
    - [Ceramic Resonators](https://www.knowlescapacitors.com/Products/Microwave-Products/Ceramic-Resonators)
    - [Bias Filter Networks](http://www.knowlescapacitors.com/Products/Microwave-Products/Bias-Filter-Networks.aspx)
    - [SatCom Products](https://www.knowlescapacitors.com/Products/Microwave-Products/SatCom-Products)
    - [Self Bias Networks](http://www.knowlescapacitors.com/Products/Microwave-Products/Self-Bias-Networks.aspx)
- EMI 
    - [EMI Overview](https://www.knowlescapacitors.com/Products/EMI)
    - [EMI Filters](https://www.knowlescapacitors.com/Products/EMI/EMI-Filters)
    - [Planars and Discoidals](https://www.knowlescapacitors.com/Products/EMI/Planars-and-Discoidals)
- Non Magnetic 
    - [Non-Magnetic Overview](https://www.knowlescapacitors.com/Products/Non-magnetic-Components)
    - [Non-Magnetic Hardware](http://www.knowlescapacitors.com/Products/Non-magnetic-Components/Hardware.aspx)
    - [Non-Magnetic Inductors](http://www.knowlescapacitors.com/Products/Non-magnetic-Components/Inductors.aspx)
    - [Non-Magnetic MLC's](http://www.knowlescapacitors.com/Products/Non-magnetic-Components/Non-Magnetic.aspx)
    - [Non-Magnetic Trimmers](http://www.knowlescapacitors.com/Products/Non-magnetic-Components/Trimmers.aspx)
- Thin Film and Substrates 
    - [Heatsinks, Standoffs & Submounts](https://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Heatsinks-Standoffs)
    - [Mounting Shorts](https://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Mounting-Shorts)
    - [Submounts](https://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Submounts)
    - [Build to Print](https://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Build-To-Print)
    - [Substrates](http://www.knowlescapacitors.com/Products/Thin-Film-and-Substrates/Substrates.aspx)
- Solutions 
    - [Military and Defense](https://info.knowlescapacitors.com/rf-and-microwave-components-for-military-and-defense)
    - [mmWave for 5G](https://info.knowlescapacitors.com/knowles-precision-devices-5g-filter-solutions)
    - [SatCom Products](https://www.knowlescapacitors.com/Solutions/SatCom-Products)
    - [High Reliability for Medical](https://info.knowlescapacitors.com/high-reliability-capacitors-medical-implantable)
    - [High Voltage for Electric Vehicles](https://info.knowlescapacitors.com/knowles-precision-devices-capacitors-for-electric-vehicles)
- [Contact](http://www.knowlescapacitors.com/Contact.aspx)
- [Careers](https://www.knowles.com/careers)
- [Company](http://www.knowlescapacitors.com/Company.aspx)
- Support 
    - [Blog](https://blog.knowlescapacitors.com/blog)
    - [White Papers & Webinars](https://info.knowlescapacitors.com/resources)
    - [Catalogs](http://dev.knowlescapacitors.com/Support/Catalogs.aspx)
    - [Video FAQs](https://info.knowlescapacitors.com/videos)
    - [Capacitor Basics](https://info.knowlescapacitors.com/knowles-precision-devices-capacitor-basics)
    - [Build To Print Basics](https://info.knowlescapacitors.com/build-to-print-basics)
    - [Design Tools](http://www.knowlescapacitors.com/Support/Design-Tools.aspx)
    - [Quality](https://www.knowlescapacitors.com/Support/Quality)
    - [Product Compliance](https://info.knowlescapacitors.com/product-compliance)
    - [Resources](http://www.knowlescapacitors.com/Support/Resources.aspx)
- [LOGIN](http://www.knowlescapacitors.com/Special-Pages/Login.aspx)
- <http://www.knowlescapacitors.com/Search.aspx>

## Knowles Precision Devices Blog

# Filter Basics 11: What Are S-Parameters and What Can They Tell Us About a Filter?

Posted by [Peter Matthews](https://blog.knowlescapacitors.com/blog/author/peter-matthews) on Nov 2, 2022, 8:45:00 AM

![Peter Matthews](https://blog.knowlescapacitors.com/hubfs/Peter.png)

- [Tweet](https://twitter.com/share)

*To help customers with filter selection, we generally provide a lot of information on what our filters can do. But in this new Filter Basics Series, we are taking a step back to cover some background information on how filters do what they do. Regardless of the technology behind the filter, there are several key concepts that all filters share that we will dive into throughout this series. By providing this detailed fundamental filter information, we hope to help you simplify your future filtering decisions.* 

*In part 11, the last post in our Filter Basics series, we review the information S-parameters can tell you about a filter’s performance and show an example of how to plot a filter’s S-parameters using a free open-source tool.*

*![Filter Basics 11 Web P](https://blog.knowlescapacitors.com/hs-fs/hubfs/Blog_charts_diagrams/Filter%20Basics%2011%20Web%20P.webp?width=1200&height=600&name=Filter%20Basics%2011%20Web%20P.webp)*

In general, we like to think of scattering parameters, commonly known as S-parameters, as the Swiss Army knife of RF data since this data can tell you quite a bit about the performance of a filter. This is because an S-parameter file refers to the scattering matrix of a microwave network, which is a mathematical construct that quantifies how RF energy propagates through a linear multi-port network.

For a two-port network, the S-parameter matrix consists of four S-parameters – S11, S12, S21, and S22 –that define the relationships between the two ports in the RF system. More specifically, these four S-parameters define the following elements in the bidirectional network:

- S11 – The reflection coefficient (𝛤) at the input, related to return loss
- S12 – A transmission coefficient that defines reverse gain
- S21 – Also a transmission coefficient that measures forward gain – in the case that the measurement ports have the same impedance, this is a measure of insertion loss
- S22 – Also a reflection coefficient, defines output port reflection

![S Parameters graphic](https://blog.knowlescapacitors.com/hs-fs/hubfs/S%20Parameters%20graphic.webp?width=1146&height=625&name=S%20Parameters%20graphic.webp)

*Figure 1. A representation of an S-parameter matrix of a two-port RF device where a represents an input and b represents an output.*

Using the S-parameters for a filter, you can calculate values for insertion loss, return loss, and voltage standing wave ratio (VSWR), which is a measure of the filter’s match to a given impedance, with the following equations:

| **Insertion Loss** | **Return Loss** | **VSWR** |
| --- | --- | --- |
| ![Insertion Loss Equation](https://blog.knowlescapacitors.com/hs-fs/hubfs/Insertion%20Loss%20Equation.webp?width=167&height=25&name=Insertion%20Loss%20Equation.webp) | **RL = -20Log 𝛤** | ![VSWR equation](https://blog.knowlescapacitors.com/hs-fs/hubfs/Blog_charts_diagrams/VSWR%20equation.webp?width=136&height=44&name=VSWR%20equation.webp) |

 

#### A Real-World Example of Plotting a Filter’s S-Parameters

Let’s now look at an example of how to measure a filter’s performance using the S-parameter file for [one of our catalog filters](https://www.knowlescapacitors.com/Products/Microwave-Products/Bandpass-Filters), the B095MB1S, which is a 9.5 GHz surface mount bandpass filter. For the analysis in this example, we will use a free open-source tool, [scikit-rf](https://scikit-rf.org/index.html), which is based on the Python programming language, to plot the S-parameters.

To access the S-parameter file for this filter (or any of our filters), just search for the filter on our website. Once you have the file, store it on your computer in a location where it is easy to access from within your Jupyter setup (which is a tool that makes it easier to write Python code interactively in a local web browser). We recommend renaming the file with a name that is easy to recognize. For our example, we put the file in a folder called ‘xband2’ and named the file ‘B095MB1S.s2p.’ Since Jupyter can see this folder, we can make a Network and review the Network properties. Below is the Python code we input in Jupyter to call this S-parameter file and create this example Network as well as the results.

![s parameter code1](https://blog.knowlescapacitors.com/hs-fs/hubfs/s%20parameter%20code1.webp?width=676&height=180&name=s%20parameter%20code1.webp)

Note that in this example, the testNtwk is a Network object representing a two-port Network. The summary information in the results tells us the frequency range of this data set, the number of data points, and the impedance of the Network. The Network class also comes with convenient built-in methods for plotting and manipulating data. In this example, we can quickly plot the log-magnitude in decibels for the filter’s frequency range for four standard S-parameters by calling the plot\_s\_db method, or we can plot each s-parameter individually (Figures 2 and 3).

*![S Parameters 1](https://blog.knowlescapacitors.com/hs-fs/hubfs/S%20Parameters%201.webp?width=391&height=262&name=S%20Parameters%201.webp)Figure 2. All Four S-parameters in one plot.*

  ![S Parameters 2](https://blog.knowlescapacitors.com/hs-fs/hubfs/Blog_charts_diagrams/S%20Parameters%202.webp?width=877&height=678&name=S%20Parameters%202.webp)

*Figure 3. Each S Parameter plotted individually.*

This post concludes our 11-part Filter Basics series. Now that you have a better understanding of how filters work, we would love to[hear from you](https://www.knowlescapacitors.com/Contact.aspx) to learn more about your application needs and how we can help you with filter selection for your next application.

Ready to take a deeper dive in the fundamentals of RF Filters? [Download the comprehensive Filter Basics guide today.](https://info.knowlescapacitors.com/filter-basics-ebook)

[![Download Ebook](https://no-cache.hubspot.com/cta/default/4681461/81176c91-d2d1-4713-bb2f-91fb1998c44d.png)](https://cta-redirect.hubspot.com/cta/redirect/4681461/81176c91-d2d1-4713-bb2f-91fb1998c44d)

 Topics: [Filtering](https://blog.knowlescapacitors.com/blog/tag/filtering)

## Insights Into Precision Passive Devices

Knowles Precision Devices is a premier global source for Capacitors, RF Filters, EMI Filters, Resonators, non-magnetic components and advanced dielectric materials. An umbrella for the brands of **Compex**, **DLI**, **Johanson MFG**, **Novacap**, **Syfer** and **Voltronics**, Knowles Precision Devices serves a variety of markets including military, aerospace/avionics, medical equipment, implantable devices, EMI and connector filtering, oil exploration, instrumentation, industrial electronics, automotive, telecoms and data networks.

This Blog will provide insights into:

- Filters for 5G and mmWave
- Capacitors for High Voltage
- Capacitors for High Reliability

and much more. Subscribe below to stay informed.

### Subscribe Here!

### Recent Posts

### Post By Topics

- [Capacitor (156)](https://blog.knowlescapacitors.com/blog/tag/capacitor)
- [RF and Microwave (84)](https://blog.knowlescapacitors.com/blog/tag/rf-and-microwave)
- [Military and Aerospace (48)](https://blog.knowlescapacitors.com/blog/tag/military-and-aerospace)
- [Filtering (36)](https://blog.knowlescapacitors.com/blog/tag/filtering)
- [Medical (34)](https://blog.knowlescapacitors.com/blog/tag/medical)

- Industries 
    - [Automotive](http://www.knowlescapacitors.com/Industries/Automotive.aspx)
    - [Industrial](http://www.knowlescapacitors.com/Industries/Industrial.aspx)
    - [Medical](http://www.knowlescapacitors.com/Industries/Medical.aspx)
    - [Military](http://www.knowlescapacitors.com/Industries/Military.aspx)
    - [Space](http://www.knowlescapacitors.com/Industries/Space.aspx)
    - [Telecom](http://www.knowlescapacitors.com/Industries/Telecom.aspx)

- Company 
    - [About](http://www.knowlescapacitors.com/Company.aspx)
    - [News](http://www.knowlescapacitors.com/News.aspx)
    - [Quality](http://www.knowlescapacitors.com/Quality.aspx)
    - [Privacy Policy](https://www.knowles.com/privacy-policy)
    - [Terms & Conditions](http://www.knowlescapacitors.com/getattachment/Knowles-T-C.pdf.aspx?lang=en-US)
    - [Knowles Electronics, LLC](https://www.knowles.com/)

© Knowles Capacitors All Rights Reserved

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Peter Matthews",
    "url" : "https://blog.knowlescapacitors.com/blog/author/peter-matthews"
  },
  "dateModified" : "2022-12-15T14:01:53.748Z",
  "datePublished" : "2022-11-02T12:45:00.000Z",
  "headline" : "Filter Basics 11: What Are S-Parameters and What Can They Tell Us About a Filter?",
  "image" : [ "https://blog.knowlescapacitors.com/hubfs/Filter%20Basics%2011.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.knowlescapacitors.com/blog/filter-basics-11-what-are-s-parameters-and-what-can-they-tell-us-about-a-filter",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.knowlescapacitors.com/hubfs/Knowles%20Corporate%20logo_blue.png"
    },
    "name" : "Knowles Precision Devices"
  }
}
```